How to search for the occurance of first <p> tag in a file and replace it with <con><p> and search for the last closing </p> tag and replace it with </p></con>__DATA__ <root> <p>This is param1</p> <p>This is second para</p> <p>this is param3</p> </root>
In reply to Re^4: search and replace
by Anonymous Monk
in thread search and replace
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |