I have a table which is full of arbitrarily formatted phone numbers, like this
027 123 5644 021 393-5593 (07) 123 456 042123456
I need to sea
I know this is ancient history, but I found it while looking for a similar solution.
A simple REGEXP may work:
select * from phone_table where phone1 REGEXP "07[^0-9]*123[^0-9]*456"
This would match the phonenumber column with or without any separating characters.
phonenumber