I want to remove all white spaces from string except except between words,i try the following,but its not working.
Input String
= IF ( @F_28º@FC_89º = " @Very strongº " , 100 , IF ( @F_28º@FC_89º = " @Above Averageº " , 75 , IF ( @F_28º@FC_89º = " @Averageº " , 50 , IF ( @F_28º@FC_89º = " @Below Averageº " , 25 , IF ( @F_28º@FC_89º = " @Cannot determineº " , 0 , IF ( @F_28º@FC_89º = " @Poorº " , 0 , 0 ) ) ) ) ) )
I want to remove all spaces except words like
- Very strong
- Above Average etc
I tried this regex from this question:
str.replace(/\s/g, '')
but its also not working.
@andº- would that be a fair assessment?