countx( haystack, regex )
Return the count of the regular expression regex in the string haystack.
Count
print countx("Hello", "[hH]") print countx("Buffalo buffalo buffalo.","[Bb]uffalo")
1 3
0.9.6.55