Multi-line search and replace
Posted: Mon Aug 05, 2002 11:56 am
I suspect that this may have been covered in some form before but I can't find it...
Is there any way to search a file for text that may span multiple lines but always begins and ends with the same characters. Something like
Node:<A name=Introduction>Introduction</A>, Next:<A
href="#A%20Few%20Terms" rel=next>A
Few Terms</A>, Previous:<A
href="#Top" rel=previous>Top</A>,
Up:<A href="#Top" rel=up>Top</A>
Is there some wizard way to create a regular expression that will accomodate the line spanning between 'Node:' & 'Top</A>'.
Is there any way to search a file for text that may span multiple lines but always begins and ends with the same characters. Something like
Node:<A name=Introduction>Introduction</A>, Next:<A
href="#A%20Few%20Terms" rel=next>A
Few Terms</A>, Previous:<A
href="#Top" rel=previous>Top</A>,
Up:<A href="#Top" rel=up>Top</A>
Is there some wizard way to create a regular expression that will accomodate the line spanning between 'Node:' & 'Top</A>'.