you have a property named 'Show Place Holders', make it false. sry, just reminding you you have a property named 'Show Place Holders', make it false. sry, just reminding you OP: That post is the correct way to do this. It is nothing but a nuisance for anything but input. Well, sometimes a good structured and thought out If statement can suffice, but it can become quite long and cumbersome in the future. By using Regular Expressions this way, you can reduce the chances of getting errors at erratic times. This sub checks the email's format and if it thinks that it matches, it returns True and vice versa.
The start and ending qualifiers of the regular expression, ^ and $, are implicit - you do not need to include them.
This code demonstrates a Validation Text Box that only accepts a 5 digit zip code.
Validation Text Box also supports functions that generate regular expressions.
Having a generating function enables you to write much more dynamic Web applications.
They make use of a pattern matching system to match the input with a certain pattern of data.