Does this look correct? I want it to strip all but the characters in the first part of the preg_replace statement, so it should strip any of those characters from the whole string.
Code: Select all
$hrow[$k] = preg_replace("/[^ +=.,'&\-(){}£€\/a-z0-9\d]/i", "", $hrow[$k]);
Code: Select all
$hrow[$k] = preg_replace("/[^ +=.,'&\-(){}£€\/a-z0-9]/i", "", $hrow[$k]);
Sorry for the simple question, if someone could check it through for me that would be much appreciated.