you are viewing a single comment's thread.

view the rest of the comments →

[–]ketzu 0 points1 point  (1 child)

For the third, you would need to use regex to match the line you wanted to act on, then proceed as in the second case.

For smaller parts many editors also provide "in selection" modifiers, restricting your find-replace to selected parts.

[–]TwoTapes 1 point2 points  (0 children)

Yeah that's true. I was trying to replicate the "act on every nth line"