|Just another Perl shrine|
Search and Replaceby nofernandes (Beadle)
|on Aug 27, 2003 at 09:08 UTC||Need Help??|
nofernandes has asked for the wisdom of the Perl Monks concerning the following question:
Hello sapient Monks,
I have a file that contains various information. Each kind of information has a specific tag, like xml or html, but is not a document of this type.
The file is like this:
My purpose is too erase the content within the <REANALYZED> and </REANALYZED> or any other tags and substitute for a new one..new files!
Whatīs the best way to do that??
Must i use regex or is there a module to do this kind of operations?
Thank you for your valuable help.Nuno
edited by ybiC: removed funky ķ EOL chars