evachick156
New member
I have the following string:
$type = "Cat (Meow)";
$outcome = preg_match( '/(\{1}(\)){1}/', $type);
echo $outcome;
When I echo it all i get is 1? When i really want is: Meow
Help!
$type = "Cat (Meow)";
$outcome = preg_match( '/(\{1}(\)){1}/', $type);
echo $outcome;
When I echo it all i get is 1? When i really want is: Meow
Help!