Thread: validation
View Single Post
  #5 (permalink)  
Old November 3rd, 2006, 09:16 AM
dparsons dparsons is offline
Wrox Author
Points: 13,255, Level: 49
Points: 13,255, Level: 49 Points: 13,255, Level: 49 Points: 13,255, Level: 49
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2005
Location: Ohio, USA
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

Again, i reiterate, you will need to write a Regular Expression to validate your string:

http://www.regular-expressions.net/

the expression [a-z][A-Z] will capture upper and lower case characters, you just need to write the rest of the expression to handle dots and spaces.

-------------------------
I will only tell you how to do it, not do it for you.
Unless, of course, you want to hire me to do work for you.

^^Thats my signature