I am massaging text files and converting them to CSV for upload into my DB. I have a particular text file with several thousand lines in it and I would like to eliminate every other line using a regular expression search and replace. Here is an example of the text:
6 Radiation Therapy <-- This is the line I want to keep and the white space is a tab character
Radiation therapy provided by a healthcare provider <-- This is the line I want to replace with "nothing" and there is no tab character.
I have tried numerous regular expressions looking for strings WITHOUT a tab character in them but I am not able to get a match. I either match everything or nothing. Here is the latest attempt: (.+[^\t].+)
Thanks for your help!