I have a list of 1,000 business contacts in a simple text document that needs some cleaning. I know the basics of TextSoap (owner for a dozen years), but I've never done this level of cleaning before. I'd like to know if and how to do the following:
1. If a line starts with "Fax:", I'd like to delete the entire line (including the Return character)
2. If the line contains ".png" or ".jpg" anywhere in the line, I'd like to delete the entire line (including the Return character)
3. If a line contains "United States", I'd like to follow it with 3 (and only 3) empty Return characters. (same for "CANADA" or any other country)
Thanks for any help on this.