Again assuming the explored string is in the $_ special variable, the words between square brackets can be retrieved as follows:
$name = $1 if /\w+\[(\w+)\]\w+/;In reply to Re^2: Parsing a Word placed between special characters
by Laurent_R
in thread Parsing a Word placed between special characters
by pillaipraveen
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |