I have a table full of text stuff like usernames. but in that table, there are nonalphanumeric values like @ and `
I want to get the results without any special characters, only all alphanumeric in the result,
I have the table like :
**user_names**
---------
hitlerX`x`
---------
google_e
---------
@apples
---------
b-e-a-n-s
---------
@mango@
---------
_-amen_-
---------
I want the result like
**user_names**
---------
hitlerXx
---------
googlee
---------
apples
---------
beans
---------
mango
---------
amen
so far I've tried :
SELECT * FROM table WHERE column REGEXP '^[A-Za-z0-9]+$'