constructing a dynamic regex
View Single Post
01-21-2013, 08:13 PM
Supreme Master coder!
Join Date: Jun 2002
Location: London, England
Thanked 2,410 Times in 2,388 Posts
Why not simply check for digits and hyphens?
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.
View Public Profile
Find More Posts by Philip M