- Joined
- Dec 13, 2004
So I want to use preg_match() to detect a valid international number. The use of parenthesis and hyphens should be valid, but not mandatory. Basically, I want to throw up an error if the user enters anything other than digits, hyphens, or parenthesis. Any thoughts?
Last edited: