I wanted to replace the multi spaces to a single space whenever more than one single space is found in the string. I was using this expression but it is not giving desired results. Is it possible that the data is having some extra non-ascii character than space.
What else am missing
I've tried below solution to update the column with below TRIM( REGEXP_REPLACE ( 'Report the value of total personnel expense.', '( )+',' ',1 ,0, 'c' ) ) ;
its not giving the desired result.
Actual result:Report the value of total personnel expense. Desired Result: Report the value of total personnel expense.