How can you find & delete lines? (not just replace with nothing)

Completed
  • Using SHIFT+DEL allows me to delete an entire line.
  • Find & Replace allows me to delete text on a line.  (but the line remains)

I'm curious if there is a way to use functionality similar to find & replace to remove whole lines?

 

 

4 comments
Comment actions Permalink

Coffee hasn't kicked in.  Regex.

Find:

 LineTextHere\n
18
Comment actions Permalink

Plus finding next line and replace all with next line.

 

Suppose there're two lines: "line1 \n line2", you can do as follows:

7
Comment actions Permalink

Marcel Wilson - doesnt that just add a new line?

0
Comment actions Permalink

Hey

What you can do is to find the text to delete and select all occurrences and the cursos will point on each line and just delete.

it worked for me

and after that delete 

3

Please sign in to leave a comment.