Cheers - L~Rmy @results = $string =~ /(cde)/g; # Also check out perldoc -f quotemeta if cde is actually a $var
Update: I almost forgot my manners. Welcome to the Monastery. The site and community is quite large and may seem a bit overwhelming. If so, be sure to check out the PerlMonks FAQ.
In reply to Re: Matching multiple occurences in one string
by Limbic~Region
in thread Matching multiple occurences in one string
by pepijn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |