Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

RE: Stripping page headers

by indigo (Scribe)
on Sep 27, 2000 at 21:16 UTC ( [id://34240]=note: print w/replies, xml ) Need Help??


in reply to Stripping page headers

If you can find two regexes that match the beginning and ending lines of the header, you might try the bistable operator. Here is a guess as to what those regexes might be:
perl -ne 'print unless /^User/ .. /^->\d/' file > file.new

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://34240]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2024-04-25 22:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found