Sublime Forum

Repeated 'Replace all'

#1

Hi there,

A real newbie question probably but is it possible to repeat the ‘Replace all’ command.

I open replace

I want to replace ;; with ; but the lines contain more then 2 ;; so I need to rerun the command several times.

After I click ‘Replace all’ the command disappears, so I’ve to open it again and repeat it instead of pushing the same command.

Is there a shortcut?

Sorry for the lame description.

Have a great weekend.

Maurice

0 Likes

#2

You could use a regexp find and replace to do it in a single shot. Search for ;+ and replace by ;. This will replace any number of chained semicolons by a single one.

1 Like

#3

Shoud have thought of that…

Will try, regexp is not my cup of tea … :wink:

0 Likes