What about a one-liner?
If you have your replacement strings in "repl.txt", this will do the trick.
perl -0pe 'BEGIN{open R,"repl.txt";$repl=<R>;close R}s/(<REANALYZED>). +*?(<\/REANALYZED>)/$1$repl$2/s' original.txt
In reply to Re: Re: Search and Replace
by dbwiz
in thread Search and Replace
by nofernandes
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |