Hi Gurus,
How can I write the thing below as a regular expression (preg_replace)?
$array = array("-0", "-1", "-2", "-3", "-4");
$key = str_replace($ar ray, "", $key);
I am trying to learn regular expressions, but I find them hard and this
seems like a really simple place to start....
Cheers
Nicolaas
How can I write the thing below as a regular expression (preg_replace)?
$array = array("-0", "-1", "-2", "-3", "-4");
$key = str_replace($ar ray, "", $key);
I am trying to learn regular expressions, but I find them hard and this
seems like a really simple place to start....
Cheers
Nicolaas
Comment