By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,834 Members | 2,234 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,834 IT Pros & Developers. It's quick & easy.

Extract IP Email Dataset

P: 2
I have a question. How do I extract IP adddress from an email dataset (MIME 1.0 format) ? Do I need regex for that?

If someone can help me with the code, it would be awesome as well
May 12 '09 #1
Share this Question
Share on Google+
2 Replies


P: 2
the Email

Received: (qmail 23153 invoked from network); 14 Apr 2004 21:19:04 -0000
Received: from dev213.omgkitty.com (HELO omgkitty.com) (@192.168.2.118)
by dev50.omgkitty.com with SMTP; 11 Jan 2003 22:45:04 -0000
Received: (qmail 11105 invoked by uid 99); 14 Apr 2004 22:19:04 -0000
Received: (qmail 14227 invoked from network); 14 Apr 2004 22:19:04 -0000
Received: from unknown (HELO ns.eisnoc1.net) (66.54.218.128)
by www.omgkitty.com with SMTP; 14 Apr 2004 22:45:04 -0000
Received: from listmail ([216.157.143.2])
by ns.eisnoc1.net (8.11.1/8.11.1) with ESMTP id h0BMg4000951
for <nospam@omgkitty.com>; Sat, 11 Jan 2003 17:42:04 -0500
Message-Id: <200301112242.h0BMg4000951@ns.eisnoc1.net>
Date: Wed, 14 Apr 2004 15:40:09 -0500
From: "Ronald George" <ron@247customer.com>
To: "Omgkitty User" <nospam@omgkitty.com>
Subject: Whats up?
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Mailer: ListMail v1.65
X-LM-Flags: 1.45.82

What’s up?
May 12 '09 #2

numberwhun
Expert Mod 2.5K+
P: 3,503
A regex would certainly be a way to go and writing it to match an IP address is pretty easy. Why not give it a shot. If you get stuck, post your code here and we will help you.

Regards,

Jeff
May 13 '09 #3

Post your reply

Sign in to post your reply or Sign up for a free account.