doh!
Meant to post the following two attempts that haven't worked:
if (!preg_match('/^[_a-zA-Z0-9-\s]{3,32}$/', $frm['namec'])) $re .= $this->clsite['comments']['eror_name'].'<br/>';
and:
if (!preg_match('/^[_a-zA-Z0-9- ]{3,32}$/', $frm['namec'])) $re .= $this->clsite['comments']['eror_name'].'<br/>';
Neither of these are working..
Thanks,
G