Quantcast
Channel: REGEXP_REPLACE Punctuation in Redshift - Stack Overflow
Browsing latest articles
Browse All 2 View Live

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 Article



REGEXP_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
Browsing latest articles
Browse All 2 View Live




Latest Images