Hello,
How can we remove tabs, multiple spaces, quotes from column data.
Input:
H ope you "are" d'oing w ell
Output:
H ope you are doing w ell -- There is a tab in Hope and double space in well. This should be replaced by space. (Tab and multi spaces)
I ended up with below:
REGEXP_REPLACE(REGEXP_REPLACE(REPLACE(Col,chr(9),' '), '( ){2,}', ' '),'["'']','')
Can we do it more efficiently, Your inputs are appreciated.
I tried
REGEXP_REPLACE(Col,'[^[a-z,A-Z,0-9,chr(0)-chr(127)[:space:]]]*','') but tabs still exist and as my data have German characters I cannot go with this.
Thanks
GVK.