>So, yours might be rewritten as preg_match('^/[\w\(\) \$-]+$/', $value) er, that would be preg_match('/^[\w\(\) \$-]+$/', $value) --------------------------------------------------------------------- michal migurski- contact info and pgp key: sf/ca http://mike.teczno.com/contact.html