while (<INPUT>) { if (/^AMQ8409 .* QUEUE\( ([^\)]+) \) .* RNAME\( ([^\)]+) \)/x) { print OUTPUT "QUEUE($1) ------> RNAME($2)\n"; } }
In reply to Re: capturing words
by gamache
in thread capturing words
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |