Hallo,
found this simple pattern on internet:
$test = "gooogle";
if (preg_match("(.)\1{2,}", $test)) {
echo "bad";
}
after having a look on different regex guides i learned that
(.) = every char/digit/sign
\1 = store the match before
{2,} = more then 2 chars/digits...
but it will not work, whats wrong?