Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Text matching repost

by ckj (Chaplain)
on Jun 18, 2012 at 09:27 UTC ( #976797=note: print w/ replies, xml ) Need Help??


in reply to Text matching repost

Try using this:
s# .* report [s]? .* ; .* ##sxlm;
to fetch multiple line and remove them you can use this too:
s# .* report [s]? .*\s*.* ; .* ##sx;
UPDATE: Have you tried running this one, I am sure that it will give you exactly what you require. it's a minor change you need not to go for so many funda and new logic. it's doable via this method itself.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2016-08-28 17:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (394 votes). Check out past polls.