reg expression for name

abhiram kagitha <[email protected]> Tue, 19 Oct 2004 09:16:20 -0700 (PDT)
Newsgroups gmane.comp.jakarta.regexp.user
Message-ID <[email protected]>
--0-455609324-1098202580=:87692
Content-Type: text/plain; charset=us-ascii

Help appreciated..
 
name can be of 
 
1. digit or alpha numeric
 2. should not have any special characters other than  - or space.

I'm using the above criteria reg expression in validator frame work.
 
 
Thanks
Abhi.
 
 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
--0-455609324-1098202580=:87692--