The phone number field accepts phone numbers, in a number of formats, such as:
Here is the regular expression I already use to get the above results:
Simply put, there must always be 10 numbers, however, there may or may not be some separators in the number.
Now, something that is commonly happening is that I am getting junk input (fake phone numbers) put in by users. There are a few common paterns which they will use:
1) All 10 digits same number: 1111111111 OR 2222222222 OR etc...
2) Repeating pattern type 1: 1212121212 OR 2323232323 OR etc...
3) Repeating pattern type 2: 1231231231 OR 3213213213 OR etc...
4) Incrementing numbers: 1234567890 OR 0123456789
Can someone help?