Re: reg expression for name
Adrian KamiĆski <[email protected]> Tue, 19 Oct 2004 19:47:15 +0200
| Newsgroups | gmane.comp.jakarta.regexp.user |
|---|---|
| Message-ID | <[email protected]> |
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 >