Re: It's regex time again - bigger and badder than ever before
- From: Tad McClellan <tadmc@xxxxxxxxxxxxxx>
- Date: Mon, 30 Oct 2006 05:52:42 -0600
"C3" <"C3"> wrote:
I have a text line that looks something like the following.
[snip]
I need to grab everything between HEADER_1 and HEADER_2, and everything
between HEADER_3 and HEADER_4, while keeping it in order. What would be the
simplest and/or cleanest way of doing this?
The way that the Perl FAQ suggests.
perldoc -q lines
How can I pull out lines between two patterns that are themselves on difâ??
ferent lines?
--
Tad McClellan SGML consulting
tadmc@xxxxxxxxxxxxxx Perl programming
Fort Worth, Texas
.
- Prev by Date: Re: perl program for clusters
- Next by Date: Re: ActiveState Perl crashs, why ?
- Previous by thread: FAQ 2.2 How can I get a binary version of perl?
- Next by thread: Handling a 450,000x450,000 array with Perl
- Index(es):
Relevant Pages
|
|