Answer by Bohemian for REGEXP_REPLACE Punctuation in Redshift
Firstly, the dash in a character class means a range, except when it's first or last... so put it there: [.,\/#!$%\^&\*;:{}=\_`~()-] And, you have to put it in quotes, and most characters don't...
View ArticleREGEXP_REPLACE Punctuation in Redshift
I'm trying to use REGEXP_REPLACE to remove all punctuation from a varchar. I'm using the following: regexp_replace(d.NAME, [.,\/#!$%\^&\*;:{}=\-_`~()]) But it gives me an error, saying: Statement...
View Article
More Pages to Explore .....