What is the regular expression to match a phone number inside a TEXT field in a table? I am trying to match mainly US numbers.
What I have found so far is this:
"07[^0-9]*123[^0-9]*456"
But this one tries to match ONLY phone numbers. What I am trying to do is match TEXT fields that contain phone numbers.
This is my query:
select count(*) as phone_number from myTable
where Query REGEXP "07[^0-9]*123[^0-9]*456";
Thank you in advance.