954,525 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

regex question

Hi i'm using the Net::POP3 module for reading my email, but it doesn't feature a method that lets you get the body of the email directly.

So I have to construct a regex in order to get it.
The problem is that I can't get it right.

I want to match all lines after an empty line (aka \n\n).

What would be the correct regex?

belhifet
Newbie Poster
6 posts since Oct 2006
Reputation Points: 10
Solved Threads: 0
 

You have this question posted on another forum where it has replies.

KevinADC
Posting Shark
921 posts since Mar 2006
Reputation Points: 246
Solved Threads: 67
 

Yes I have, but I didn't get the correct answer yet.

belhifet
Newbie Poster
6 posts since Oct 2006
Reputation Points: 10
Solved Threads: 0
 

I thought maybe you were unaware of the replies on the other forum and I was just directing you to look there.

KevinADC
Posting Shark
921 posts since Mar 2006
Reputation Points: 246
Solved Threads: 67
 
Yes I have, but I didn't get the correct answer yet. .

Well, this is guanrteed to get you answers.

Continue in the other thread. If you don't like the answers there, then say that in the thread and ask for other possibilities, don't just simply start another thread, it's rude. But then again, I get the idea (from this post alone) that rude is your normal state of affairs. Welcome to the ignore list.

masijade
Industrious Poster
Moderator
4,253 posts since Feb 2006
Reputation Points: 1,471
Solved Threads: 494
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You