Replace double spaces in clipboard with single space regex

Am I crazy? I’ve successfully done similar things (eg change 2 RETURNs to single RETURN), but unable to get 2 spaces to change to 1 space. Tried more complicated things and now just using \040\040 -> \040 and still not working…

Hey Aaron,

Of course!    :smile:

You're doing something wrong somewhere.

Try this.

Replace 2 Spaces with 1 Space.kmmacros (2.6 KB)

There's no need to use the Ocal value — a couple of spaces will do.

Make sure though that you're actually dealing with spaces and not non-breaking-spaces or something else.

Best Regards,