constructing a dynamic regex
View Single Post
01-21-2013, 09:13 PM
Supreme Master coder!
Join Date: Jun 2002
Location: London, England
Thanked 2,471 Times in 2,449 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