Remove Double Spaces From _tag


#1

I remove double spaces with replace by reg ex _ALL, \s\s, " ". This works fine except I have 99 files that have double spaces in _tag, which I cannot remove. Anyone know how to remove them please?


#2

Maybe these characters are not white spaces par excellence, say $char(160) looks like a common white space $char(32) but is in fact a different character.
At first you may convert $char(160) space chars into normal $char(32) space chars, and afterwards you can run your action from above. To identify a $char(160) space char in a regexp you have to code '\xa0'.
Good luck!

DD.20070213.1654


#3

Thanks for reply, but didn't work. I'm stumped


#4

Is it possible for you to provide a reality example string?

DD.20070227.1448