Well, I have given you the regular expression which works for 99.99% of addresses.
Another example of the older crude version is at http://www.texaswebdevelopers.com/ex...validation.asp
The regex is much simpler and better.
All the code given in this post has been tested and is intended to address the question asked.
Unless stated otherwise it is not just a demonstration.
Last edited by Philip M; 08-17-2013 at 02:34 PM..