Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re: regex for removing quoted text

by roboticus (Chancellor)
on Mar 10, 2011 at 04:56 UTC ( #892344=note: print w/ replies, xml ) Need Help??

in reply to regex for removing quoted text

You say you've tried "everything possible", so just pick the one that gave you the correct solution. ;^)

Seriously, show the code that you've tried. I'm sure someone can (and probably will) just give you the answer, but it's more satisfying to help someone fix their code, rather than handing you the answer. Once you put up some code, someone will be sure to give you a hand finding out where you have difficulties.

I've recently played with YAPE::Regex::Explain, and if you try it out, you can tweak your regular expressions and have it tell you what it will do. That's a pretty good way to see where you're going wrong.

I'm assuming that you've already read perldoc perlre, so I won't bother mentioning it.


When your only tool is a hammer, all problems look like your thumb.

Update: Repaired CPAN link, thanks to toolic and atcroft for the catch!

Comment on Re: regex for removing quoted text
Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (9)
As of 2015-10-13 18:29 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (312 votes), past polls