I have a comma separated string like
This,is ,a,beautiful ,summer day
Can you please help me remove the WHITESPACE before "comma", without removing the space between two words?
Tried below query:
SELECT regexp_replace('This,is ,a,beautiful ,summer day' , '[[:space:]]', null ) regexp
FROM dual;
but it's removing the space between summer day.
Output:
This,is,a,beautiful,summerday