in reply to Regex Help!

Look for the pattern /g - globally. Match in a loop. Count the occurences.


I'm too lazy to be proud of being impatient.