Page 1 of 1

Mark/Delete all lines between 2 character strings

Posted: Fri May 25, 2012 9:45 pm
by elcaro
Hi,

I have a large XML document and I want to delete a section which begins with <LIST_LINEDATA> and ends with </LIST_LINEDATA>.

How do I mark/delete all lines between these 2 tags?

Thanks in advance.

Posted: Fri May 25, 2012 11:23 pm
by ak47wong
  1. Click Search > Find.
  2. Ensure Extend selection is not selected.
  3. In Find what, enter <LIST_LINEDATA> and click Find Next.
  4. Select Extend selection.
  5. In Find what, enter </LIST_LINEDATA> and click Find Next.

Posted: Tue May 29, 2012 2:10 pm
by elcaro
ak47wong - thank you so much. your solution works like a charm.