Consult whatever documentation you have on hand (perlre, if you have the on-line docs), and meditate on the meaning of /g
In reply to Re: multiple matches in a string
by dws
in thread multiple matches in a string
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |