Hi,Can anyone provide me a regex that just allows just alphanemeric and the "." character, but no other special character. This for a DCT text fieldThanks,Goks
A simpler one would be: [a-z][A-Z][0-9][\.]
I think you mean [a-zA-Z0-9\.]have a look also at this fine overview (well, I just picked it off google)http://www.cs.tut.fi/~jkorpela/perl/regexp.html... it tells you that \w will match any word character (alphanumerics + underscore), so if you don't like the underscore, you can't use it. Otherwise you could go with [\w\.]
If s/he didn't really want the underscore, couldn't they otherwise just say:^[\w^_]+$?Dave