<?
$zz = '/gg.gg/';
$string = "ABC1ABC";
$if(preg_match($zz, $string,$matches)){
echo 'Matched, the result is:';
var_dump($matches);
}else{
echo 'No match';
}
?>
Why the match failed, I don't understand. . .
$string = "ggABC1ABCgg";
What the hell is '/gg.+gg/'?
$string = "ggABC1ABCgg";
What the hell is '/gg.+gg/'?