I need to SELECT only alpha characters FROM a row though I'm having trouble with the expression. I've tried:
SELECT id, regexp_replace(_column_name_, '0123456789', '') AS _column_alias_
FROM _table_name_;
I know the general gist would only replace numbers however the column only contains alphanumeric characters to begin with.
So if _column_name_ contains a value a1b2c3 how do I make PostgreSQL return the string abc?