Aug 14, 2011, 9:42 AM
Post #1 of 2
Regexp to parse XML input returned
Am fairly new to using regexp - and am trying to capture and parse some input from XML received in simialr format to following
I want to only extract the actual value for both HOst and Port - ignoring the tags - have tried various options using regexp most basic being m/Host(.*?)Host/
Is this approach possible? Or woudl I be better outputting to a file - then using other options to capture value such as grep etc?
Any feedback much appreciated