Forum Home
|
Marketplace
|
Articles
|
Blogs
|
Interviews
|
Tools
REGISTER
|
SEARCH
|
MEMBERS
|
F.A.Q.
Register Here
Forum Rules
Webmaster-Talk.com
>
Coding Talk
>
JavaScript Forum
>
The ultimate regex for an email
Link Back
Thread Tools
The ultimate regex for an email
04-12-2005, 09:57 AM
#
1
(
permalink
)
The ultimate regex for an email
ibbo
Super Spam Talker
Posts: 880
Location: Leeds UK
Talkupation:
Anyone found/ created one?
Failing that is it possible to poll a mail server with an email address using javascript?
ibbo
__________________
www.nationalclubgolfer.com
www.sportspub.co.uk
www.bespokecc.co.uk
www.centralmarquees.co.uk
Linux user #349545 :
(GNU/Linux)iD8DBQBAzWjX+MZAIjBWXGURAmflAKCntuBbuKCWenpm XoA7LNydllVQOwCf
When You
Register
, These Ads Go Away!
04-12-2005, 11:44 AM
#
2
(
permalink
)
Phaedrus
Ultra Talker
Posts: 271
Location: CA
Talkupation:
How bout this one: /^[\w-]+(\.[\w-]+)*@[\w-]+(\.[\w-]+)*\.\w{2,8}$/
__________________
Free Teacher Websites
04-13-2005, 08:43 AM
#
3
(
permalink
)
ibbo
Super Spam Talker
Posts: 880
Location: Leeds UK
Talkupation:
Looks like one or two I may have tried lready.
The problem been that I can match most emails addreses but there is always a percentage that fail (even though they are valid).
I suppose I can see if i can open a socket in javascript and see if a response is given aginst the email address for that server.
ibbo
__________________
www.nationalclubgolfer.com
www.sportspub.co.uk
www.bespokecc.co.uk
www.centralmarquees.co.uk
Linux user #349545 :
(GNU/Linux)iD8DBQBAzWjX+MZAIjBWXGURAmflAKCntuBbuKCWenpm XoA7LNydllVQOwCf
04-13-2005, 10:04 AM
#
4
(
permalink
)
Minaki
Defies a Status
Posts: 1,626
Location: Guildford, UK
Talkupation:
Try this:
^([\w-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([\w-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$
__________________
Minaki Serinde MCP
"Wow, Linux is nearly on-par with Windows ME!"
Inoxia Pyrotechnics Supplies
|
Surrey Angels Cheerleading Squad
04-13-2005, 08:37 PM
#
5
(
permalink
)
dk01
Ultra Talker
Posts: 373
Location: Ames, IA
Talkupation:
Javascript is so/so for any kind of verification. If you really want to be spot on try
this
tutorial.
-dk
__________________
Did I help you? If so, be nice and throw me some
TP
heartland-design.com
-
dk01.org
« Reply to
The ultimate regex for an email
Previous Thread
|
Next Thread
Webmaster-Talk.com
>
Coding Talk
>
JavaScript Forum
>
The ultimate regex for an email
Thread Tools
Show Printable Version
Email this Page
Posting Rules
You
may not
post new threads
You
may not
post replies
You
may not
post attachments
You
may not
edit your posts
vB code
is
On
Smilies
are
On
[IMG]
code is
On
HTML code is
Off
Trackbacks
are
Off
Pingbacks
are
Off
Refbacks
are
Off
Webmaster Resources Marketplace:
Software Development Company
|
Webhosting.UK.com
Web Templates
|
Text Link Brokers
|
Stock Photos
Feeds:
RSS
JS
XML
Feeds for this forum:
RSS
JS
XML
Mark Forums Read
-
View Forum Leaders
-
Contact Us
-
Webmaster Forum
-
Advertise
-
Archive
-
Privacy Statement
-
Top
Page generated in
0.14373
seconds with
12
queries