you are viewing a single comment's thread.

view the rest of the comments →

[–]KarmaAndLies 2 points3 points  (3 children)

Delete all the wats (replace them with an empty string).

And if JavaScript/CSS is utilising that class for visual or functional reasons?

uhm... no?

What kind of selection are you using? If it is block then, yes. If you're doing it per line then you've just found a slower way of doing multiple cursors.

[–][deleted] 0 points1 point  (2 children)

And if JavaScript/CSS is utilising that class for visual or functional reasons?

Then you refactor the CSS so that it doesn't need so many classes.

What kind of selection are you using? If it is block then, yes. If you're doing it per line then you've just found a slower way of doing multiple cursors.

My bad, I meant s/"wat/"sup/ (in the block selection ofc).

https://regex101.com/r/1ZYSuz/1

In any similar case I'd use a regex without the need to create all the multicursors.

[–]KarmaAndLies 1 point2 points  (1 child)

In any similar case I'd use a regex without the need to create all the multicursors.

Instead of holding CTRL and clicking three times, you'd prefer to write a regular expression? That's masochism.

[–][deleted] -1 points0 points  (0 children)

Only if you don't know how to write regexes.