Regular Expression Help
Posted: Tue May 02, 2006 9:08 pm
I'm trying to delete several lines of text. An example line always contains
$Revision:
somewhere in the line. If this string is found, I would like to delete the entire line. The actual line is:
* $Revision: $\n
so there are two dollar signs. (Yes, it's a VSS Revision tag.)
I think AFR can do this, if I can figure out the right RE to use.
This is what I have tried so far:
\$Revision*: Changes the line to "n: $"
\$Revision*\r\n: does not match.
I've tried a few other things that did not work as well. I'm a bona-fide newbie at RE!
Thanks,
$Revision:
somewhere in the line. If this string is found, I would like to delete the entire line. The actual line is:
* $Revision: $\n
so there are two dollar signs. (Yes, it's a VSS Revision tag.)
I think AFR can do this, if I can figure out the right RE to use.
This is what I have tried so far:
\$Revision*: Changes the line to "n: $"
\$Revision*\r\n: does not match.
I've tried a few other things that did not work as well. I'm a bona-fide newbie at RE!
Thanks,