title: Remove lines from text file if it starts with
body: <p>I have large text files that contain invalid records.</p>
  
  <p>I would like to remove all lines where the first field is blank. The file delimiter is a tilde , so essentially I want to remove all lines where the first character is ~</p>
  
  <p>Can someone assist with the PowerShell code - I cannot seem to get it right.</p>