kevina,
This still didn't help.
Your sample project has literal string values for the input file and output file. That's where I'm using the macro. I'm not using the macro value in the regular expression text. I don't think that I'm clearly expressing where my problem is.
I have a set of files that contain SQL code. I want to replace "ALTER VIEW" with "CREATE VIEW" inside of these files. To do this my, find expression is:
^ALTER\s+VIEW
My replace expression is:
CREATE VIEW
This works fine if my file names don't contain the square brackets. But I don't have the option of changing my file names.
I have attached a sample project along with one of the text files that I am trying to process. It works perfectly if you rename the file and remove the brackets. It's broken if you don't.
|