I have created a simple regular expression that matches a phone number.I have a group inside where I choose between space,dot and hyphen if NY input string contains more than one group...it does not match the entire result.
([\(]?\d+[\)]?(-|\s|\.)?\d+)+
The input is (123)1234-1236 12345
or something of that sort...the actual input is from Tesseract OCR and is unreliable at best.
Can you help me create a better easy to use and understandable regex or improve the regex to match phone numbers.