No quick, easy answer. Technically, you could do it in SAS, but it would be a lot of work. Depends on how many files.... there are macros on the forums to loop through a series of files (usually Excel, but just change the extension) read the text in a data step, each line as one long string use the perl regular expression tools to do the search and replace write the text back out Unless you already know how to use perl, 3 might be a challenge. If you are familiar with Unix scripting, you could download the "GNU on Windows" tools and write the script as a batch file. Doc Muhlbaier Duke
... View more