in reply to regular expression issue
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.)
|
|---|