Replacing multiple spaces using script

A + character means match the previous token any number of times. So e.g. \.+ will match any number of dots.

1 Like