in reply to search and replace if pattern found in file
And ask yourself, do you need to do this so many times that a regex, rather than hand editing, is the answer. If so, maybe amend that to 'multiple regexen, applied sequentially.'
Oh yes, also: enclose sample data in code tags, so we don't mis-read that data.
See the instructions at the text-entry form which now exists at the bottom of a page showing your original node.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: search and replace if pattern found in file
by myfrndjk (Sexton) on Aug 01, 2014 at 19:27 UTC |