Hii I want to get the matched group name after comparing string to regex expression
while($string=~m/(?<Word>(\w+)?<Digit>(\w+))/g) { print "Match : $1 GroupName: "; }
In reply to Retrieving Regex matched Group name by Samman_Mahmoud
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |