|
|
| We don't bite newbies here... much | |
| PerlMonks |
Re: how to to find the "/" in a stringby philiprbrenan (Monk) |
| on Aug 31, 2012 at 21:39 UTC ( #991093=note: print w/ replies, xml ) | Need Help?? |
|
Here is a start. The regular expression gets the size of the array returned by the regular expression, which uses () to enclose the text to be searched for and /g to find all the occurences.
Produces 3
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||