how can i find multiple occurrence of the same character? something like:
$maxRepeat = 3;
"pool" passes
"poool" don't
i need this to work for any character, so i guess I'll have to escape special characters like . and \
which characters i have to escape?
do you know any good reference to preg_match
regexp apart from the one on php.net?