MAJOR THANKS. This worked GREAT. It was more efficient and it bypassed what was killing me(My replace string contained the search string ). I think I was getting an infinate loop due to my problem.
This script will be processing on a 4000 line master text file