jeromepelletier
04-27-2006, 01:04 AM
im using:
if($varCheck && trim(preg_replace("/[a-zA-Z0-9,@._]+/", "", $varCheck))) $stop = true;
if($stop=="true")
{
blah
}
how would i go abouts adding "-" ( a hyphen, -) to preg replace?
if($varCheck && trim(preg_replace("/[a-zA-Z0-9,@._]+/", "", $varCheck))) $stop = true;
if($stop=="true")
{
blah
}
how would i go abouts adding "-" ( a hyphen, -) to preg replace?