The way I read the documentation (help file), the \n reference is only
available in the search string, not in the replacement string.
Characters which also may be used in the replacement string are called
out to be so (e.g. \t) The special character & is mentioned to do what
you want, but it only matches the complete search RE, so cannot be used
to parse bits of the search string out into separate \1 \2 \3 ...
replacements.
HTH,
Donald.
Dennis Marks wrote:
I'm trying to to a find and replace using regular expressions. I have
sentences in the format "nn:nn xxxxxxxxx". I want to replace it with
"nn:nn tabcharacter xxxxxxxx". Example "1:34 Now is the time" replace
with "1:34 tabcharacter Now is the time".
I use "([0-9]+:[0-9]+ )" in the find and "\1\t" in the replace.
The result is "\1 tabcharacter xxxxxxxx".
\1 should refer to the parenthesis info in the find but it does not. Why?
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]