use warnings; use strict; my $s = '%MYBOARD{project1|nameofproject1 remarks="Good,Verygood,bext, +excellent" grade="7" teacher="Priyanka"}%'; if ($s =~ / \b teacher = " ([^"]+) " /x) { print "$1\n"; } __END__ Priyanka
In reply to Re: Regular Expression
by toolic
in thread Regular Expression
by archimca
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |