im a newbie to perl and i want to extract tags from the following:
[check-->PERLMONKS_001] [check-->PERLMONKS_002] [check-->PERLMONKS_003]
The o/p should be
PERLMONKS_001 PERLMONKS_002 PERLMONKS_003
The snippet im trying is
if($array[$i] =~ /Check-->\s*\d+$/) { $Output= $1;
i dont know where im making mistake ..
In reply to Pattern matching by stallion
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |