P is for Practical | |
PerlMonks |
Re: Regular expression help Neededby Grygonos (Chaplain) |
on May 06, 2005 at 13:15 UTC ( [id://454672]=note: print w/replies, xml ) | Need Help?? |
It seems like malformed data is breeding a malformed question here. If it is to be assumed that you truly want to find thing between BPR and TRN identifiers, then your desired output should be
and
which doesn't seem logical, which brings me to my original statement, malformed data breeds a malformed question. what kind of data is this and who's generating it? (If you're at liberty to say that is The regex however looks like the one above + minimal matchingm{BPR(.*)?TRN}
In Section
Seekers of Perl Wisdom
|
|