Sorry for asking for something so basic, but I am really bad in regexp. I would like to validate a text typed , it must have: A-Z a-z 0-9 _- Example: Frank_23z Thanks in advance PHP Data object relational mapping generator http://www.metastorage.net/ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/php-objects/ <*> To unsubscribe from this group, send an email to: php-objects-unsubscribe@xxxxxxxxxxxxxxx <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/