php - Select * From table Order by TRIM(ALL [:nonalphnum:] FROM `title`) -


what thought simple query turning major headache.

i want order trimming non-alphanum characters in title.

as in... sort results alphanumerically ignore non-alphanum characters... not removing them database, assume not there.

i believe trim doesn't work character classes. , case poster example regular expression replace function ... mysql doesn't provide afaik.

what is: create column write title alphanum - php - , (created when inserted or once existing rows) , sort on that.


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -