Sublime Forum

Copy multiple selection to end of line

#1

In sublime 3.2.2 I need to copy and paste multiple selection to end of each line. What I did was Edit>replace, enter find term using regex, press alt+enter, press Ctrl +c, press key end, press Ctrl+v. Now what happens is like below,

1.a (a) here
2. a (b) here

regex find is \(\w\)

I get like,

1.a (a) here
(a)
(b)
2. a (b) here
(a)
(b)

Insted of

1.a (a) here(a)
2. a (b) her(b)

I tried for small number of lines it worked, But when having five thousands like it give results as not desired.

0 Likes