Need help on replacing multiple spaces to a single space using Regular Expression
-
Hi everyone,
I’d like to ask for help on how to replace multiple spaces between words into a single space in a txt file like below:Nice to meet you!
->
Nice to meet you.I’m sure there is a certain way in Regular Expression that is able to accomplish this function but don’t know where to start or how to write the expression in the “Replace” box.
Is there anyone who have any idea?
Thanks in advance and appreciate for your suggessions.Regards,
George -
Put a single space followed by a
+
in the Find what box. Select Regular expression search mode and press Find Next. You will see the results and should be able to build on that to do your desired replacement. -
That works, thank you so much Scott :-)