Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

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 meditating upon the Monastery: (4)
As of 2015-11-29 20:14 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (753 votes), past polls