I have a list of phone numbers and other text such as the following:
+1-703-535-1039 +1-703-728-8382 +1-703-638-1039 +1-703-535-1039
And I'm trying to match just the area code and first 3 digits of the number.
Currently I'm using the following Regex:
\d{3}-\d{3}
But it only returns the first match instead of all matches.
Pls see this link for reference: