Hi, Try: ^[-0-9a-zA-Z]+$ or ^[-0-9a-zA-Z:space:]+$ Regards, Adrian
On Tue, 19 Oct 2004 09:16:20 -0700 (PDT), abhiram kagitha <[EMAIL PROTECTED]> wrote: > 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 > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]