MySQL column:
phone = '(999)-666-333'
String to search '999666333'
Is there a way I could search by transforming the value '(999)-666-333' within WHERE command? I want to strip all non-digits and leave only digits.
something like:
select * from users where regex(phone, '[0-9]') = '999666333';