Here is the string
%MYBOARD{project1|nameofproject1 remarks="Good,Verygood,bext,excellent +" grade="7" teacher="Priyanka"}%
with the below mention code I can fetch the value of grade
$var =~ m/%MYBOARD{.*?grade=\"([^\"]*)"[^}]*}%What would be the regular expression if i want to fetch the value of 'teacher'
In reply to Regular Expression by archimca
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |