in reply to Substitute problem
Uhm... the line you gave will work. I expect you are inadvertently running it on a single page more than once. You could modify the regex to prepend the "_n" only if those two chars aren't already "_n" by using a negative look-behind assertion:
s/(?<!_n)\@mail.ab.com/_n\@mail.ab.com/gi;
-sauoq "My two cents aren't worth a dime.";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Substitute problem
by Anonymous Monk on Jul 30, 2003 at 21:10 UTC | |
by graff (Chancellor) on Jul 31, 2003 at 03:57 UTC |