Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

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!

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://892344]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2018-04-24 09:18 GMT
Find Nodes?
    Voting Booth?