if(preg_match(\'/[^a-z\\-0-9]/i\', $value)) { echo \"\"; }
how
The hyphen is already in there, simply add an escaped dot using \..
\.
/edit: But as noted in the comment the escaping isn't needed.