How can we use regular expressions in select queries? For example:-
select regex(column1, regular_expression) from table1
I found REGEXP being used in where clause but cannot find something for selects like above.
For example, phone_number column in database has (845) 545 5545, the select query should return 8455455545
SELECT * from table1 WHERE column1 REGEXP 'regular_expression'?