This function will return the number of times the regular expression sExpression is found in sData
Set $count = RegExCount("dog","Dogs are dogmatic about doing it doggy style") would set $count to 3 Note: the regular expression engine has been set to ignore case .
Example:
$count = RegExCount("dog","Dogs are dogmatic about doing it doggy style")
msgok msg=$count