m{ \|\\ # the delimiter ([^@]*) # everything but a @ @ .*? # garbage inbetween \(ACK\) (.*) # the rest }x; print "<$1>, <$2>\n";
See regex tutorial and documentation for more details. (And please enclose your code and data examples with <code>...</code> tags.)
In reply to Re: regular expression issue
by moritz
in thread regular expression issue
by sumesh.sasi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |