Newbie in distress....Regex for phone numbers!
I have a contact form which has text fields for both a landline and mobile phone. I have adapted the following demo from the following link to validate my form:
I have found some websites on UK phone Regex... however they may as well be in Greek or Mandarin!!!
The current var phoneRegex as seen in my attachment messages-js is something I borrowed for testing purposes and doesn't work for UK numbers. I have looked at the links above and tried to replace it but nothing works!
If anyone could help me out with this I'd be eternally grateful!
Attachment 61279Attachment 61280Attachment 61281