How can I make $c = "hellobobhello" not "hellobobhi"?$a="hi"; $b ="hello"; $c = "hibobhi"; $c=~ s/$a/$b/;
Originally posted as a Categorized Question.
In reply to How can a regex match every occurence of a string? by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |