Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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.


Comment on Re: Text matching repost
Select or Download Code

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 taking refuge in the Monastery: (14)
As of 2014-09-23 15:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (225 votes), past polls