Hi guys
I want to scrape emails addresses in my own website.
http://czone01.com/
using REGEX while i'm formulating my own REGEX.
Please i dont need DOM this time i only need REGEX.
Please assume that these email addresses will change someday.
Thank you in advance,
-warren
REGEX question.
Moderator: General Moderators
Re: REGEX question.
That's not really a question, thats you asking someone to do your work for them 
- jayshields
- DevNet Resident
- Posts: 1912
- Joined: Mon Aug 22, 2005 12:11 pm
- Location: Leeds/Manchester, England
Re: REGEX question.
Here is a starting point:
Taken from the samples at http://www.cuneytyilmaz.com/prog/jrx/
Code: Select all
^
[_a-zA-Z0-9-]+(.[_a-zA-Z0-9-]+)* # the username part
@[a-zA-Z0-9-]+ # hostname
(.[a-zA-Z0-9-]+)*.(([0-9]{1,3})|([a-zA-Z]{2,3})|(aero|coop|info|museum|name)) #TLD
$