If I take "this is a testtext" as $text then it finishes in about a sec, so what's wrong ?
Code: Select all
$text = "testtext ";
$regex = "їa]";
$n = ereg($regex, $text);
echo ($n);Worrel
Moderator: General Moderators
Code: Select all
$text = "testtext ";
$regex = "їa]";
$n = ereg($regex, $text);
echo ($n);Code: Select all
if ($n) {
echo ($n);
} else {
echo "not found";
}