Re: reg expression for name
Adrian KamiĆski <[email protected]> Tue, 19 Oct 2004 22:50:28 +0200
| Newsgroups | gmane.comp.jakarta.regexp.user |
|---|---|
| Message-ID | <[email protected]> |
Sorry, my mistake not to check what I send :( Try: ^[0-9a-zA-Z\-\s]+$ should work well now with your criteria. 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 > -- http://www.jakarta.pl