use warnings; use strict; while (<DATA>) { print "$1\n" if /\\\[(\w+)\\]/; } __DATA__ test\[abc\]test test\[cde\]test test\[ack\]test
In reply to Re: Parsing a Word placed between special characters
by toolic
in thread Parsing a Word placed between special characters
by pillaipraveen
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |