Sublime Forum

Find and replace paragraphs

#1

Got a .txt were hundreds of paragraphs start with {"NoteId":"593d9745fde3ca7216000008"

If I do Find > click on the paragraph number, it will select the entire paragraph, so that I can then remove it. But for this to accomplish what I want, I’d have to go one by one over each paragraph, which would take me hours. So I’m looking for a method that goes: select all paragraphs that start with {"NoteId":"593d9745fde3ca7216000008" > delete.

edit - I’ve downloaded notepad++, and it came to my attention that the correct term for these elements is probably “lines”. This is what I’m referring to:

Found the solution here!

0 Likes