Refer for the syntax rules before any thing fails :-) -Dinakar$_ =~ s/<exm>/'<exm num="'.$exmno++.'">'/egs; if ($_ !~ /^<exm.*?$/) { $exmno=0; }
Edited - Added code tags (davorg)
In reply to Re^2: Restarting counters in text
by udinakar
in thread Restarting counters in text
by rsriram
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |