Searching for phone numbers in mysql

后端 未结 16 2523
耶瑟儿~
耶瑟儿~ 2020-12-30 06:40

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

16条回答
  •  暖寄归人
    2020-12-30 06:48

    I would use Google's libPhoneNumber to format a number to E164 format. I would add a second column called "e164_number" to store the e164 formatted number and add an index on it.

提交回复
热议问题