|XP is just a number
Search pattern from end of lineby asab (Sexton)
|on Nov 25, 2010 at 06:00 UTC
asab has asked for the wisdom of the Perl Monks concerning the following question:
I need a perl reg-expression which extracts the pattern as below.
Basically we want to parse and extract the rpms from the packages.xml inside RHEL cd hence looking for a pattern which extracts the contents between >xyz</rpm>.
Note there might be any set of character/white space before > symbol but all the lines ends with </rpm> pattern.
Any help with regard to this is of great help.Eg:
Thanks in advanceasab