What is the trick for removing all instances of unwanted characters and spaces?
(g)lobal flag.
SELECT regexp_replace('hello - world n', '[^0-9a-z]+', '', 'g')
;
David J.
What is the trick for removing all instances of unwanted characters and spaces?