I am using the below regexp successfully to read between my tags until I reach a case where there is a <
sign embedded in my data between the tags. To fix this I want to read between a +>
and a </+
. There is no way that combination would be used in the database I'm pulling from. When I try to change the code below to do this I get stuck. Have any ideas?
Code:
@fieldValues = $inFileLine =~ m(>([^<]+)<)g;
My sorry attempt at modifying the code:
@fieldValues = $inFileLine =~ m(\+>([^<\/\+]+)<\/\+)g;
Data:
<+RecordID+>SWCR000111</+RecordID+><+Title+>My Title Is < Than Yours</+Title+>