Search found 2 matches

by Brig
Mon Dec 15, 2014 3:41 pm
Forum: Regular Expressions (Archived)
Topic: Grab blocks of text
Replies: 2
Views: 13554

Re: Grab blocks of text

Beautiful! Thanks a million. So simple.
by Brig
Fri Dec 12, 2014 9:57 pm
Forum: Regular Expressions (Archived)
Topic: Grab blocks of text
Replies: 2
Views: 13554

Grab blocks of text

Howdy:

If I have files with SGML tags and text like this--

<para>Text and more text.</para>
<block>
<tag1>
<tag2>
<tag3>text</tag3>
</tag2>
</tag1>
</block>
<para>More text.</para>

--and I want to extract all the "blocks"--that is, every instance of <block>...</block> (and everything between ...