Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

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?

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2016-10-23 21:52 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (302 votes). Check out past polls.