Hi,
I want to know how can I search and replace text between tags using perl
e.g I have log files as fallows:
<val

Code>ABCDEF009E76</val

Code>
LOTS_OF_OTHER_LINES
<pCode>XYZYFE1009E76</pCode>
I want to remove the text between tags or replace the text with word 'Removed' as fallows
<val

Code></val

Code>
LOTS_OF_OTHER_LINES
<pCode>Removed</pCode