Search:
Namespaces
Discussions
.NET v1.1
Feedback
Regex Q
Messages
Related Types
This message was discovered on
ASPFriends.com 'aspngregexp' list
.
Responses highlighted in red are from those people who are likely to be able to contribute good, authoratitive information to this discussion. They include Microsoft employees, MVP's and others who IMHO contribute well to these kinds of discussions.
Damian Barrow
-- Copied from [aspngfreeforall] to [aspngregexp] by Alex Lowe <
Click here to reveal e-mail address
> --
Hi all
Could someone double check this for me please:
strEmail =3D txtEmail.Text
strPattern =3D "^[\w-+\.]+\@([\w-]+\.)+\w+$"
It should accept an email address of
Click here to reveal e-mail address
But when I try a DNS check using System.Net - it fails.
Other emails are successful though so I know the DNS checker is working.
Is my regex right - because our mail server has problems sending to this
specific domain (and other demon domains, but that's another issue..)
Cheers
Damian Barrow, MCSE+i
http://www.travelcounsellors.com
"If we knew what it was we were doing, it
would not be called research, would it?"
Albert Einstein=20
Reply to this message...
Scott Watermasysk (VIP)
It works for me (the regex).
-Scott
-----Original Message-----
From: Damian Barrow [mailto:
Click here to reveal e-mail address
]
Sent: Tuesday, February 05, 2002 10:24 AM
To: aspngregexp
Subject: [aspngregexp] Regex Q
-- Copied from [aspngfreeforall] to [aspngregexp] by Alex Lowe
<
Click here to reveal e-mail address
> --
Hi all
Could someone double check this for me please:
strEmail =3D txtEmail.Text
strPattern =3D "^[\w-+\.]+\@([\w-]+\.)+\w+$"
It should accept an email address of
Click here to reveal e-mail address
But when I try a DNS check using System.Net - it fails.
Other emails are successful though so I know the DNS checker is working.
Is my regex right - because our mail server has problems sending to this
specific domain (and other demon domains, but that's another issue..)
Cheers
Damian Barrow, MCSE+i
http://www.travelcounsellors.com
"If we knew what it was we were doing, it
would not be called research, would it?"
Albert Einstein=20
| [aspngregexp] member
Click here to reveal e-mail address
= YOUR ID
|
http://www.asplists.com/asplists/aspngregexp.asp
= JOIN/QUIT
|
http://www.asplists.com/search
= SEARCH Archives
Reply to this message...
Alex Lowe
Damian, you probably should send more code to [aspngfreeforall] if the
regexp is not the problem.
Alex - AspFriends.com Moderation Team
Microsoft MVP - ASP.NET
***********************************************************
Have a question about using client side coding in your ASP.NET pages?
Send your question to [aspngclient]
(
http://www.aspfriends.com/aspfriends/aspngclient.asp
)
***********************************************************
-----Original Message-----
From: Scott Watermasysk [mailto:
Click here to reveal e-mail address
]
Sent: Tuesday, February 05, 2002 10:15 AM
To: aspngregexp
Subject: [aspngregexp] RE: Regex Q
It works for me (the regex).
-Scott
-----Original Message-----
From: Damian Barrow [mailto:
Click here to reveal e-mail address
]
Sent: Tuesday, February 05, 2002 10:24 AM
To: aspngregexp
Subject: [aspngregexp] Regex Q
-- Copied from [aspngfreeforall] to [aspngregexp] by Alex Lowe
<
Click here to reveal e-mail address
> --
Hi all
Could someone double check this for me please:
strEmail =3D txtEmail.Text
strPattern =3D "^[\w-+\.]+\@([\w-]+\.)+\w+$"
It should accept an email address of
Click here to reveal e-mail address
But when I try a DNS check using System.Net - it fails.
Other emails are successful though so I know the DNS checker is working.
Is my regex right - because our mail server has problems sending to this
specific domain (and other demon domains, but that's another issue..)
Cheers
Damian Barrow, MCSE+i
http://www.travelcounsellors.com
"If we knew what it was we were doing, it
would not be called research, would it?"
Albert Einstein=20
| [aspngregexp] member
Click here to reveal e-mail address
= YOUR ID
|
http://www.asplists.com/asplists/aspngregexp.asp
= JOIN/QUIT
|
http://www.asplists.com/search
= SEARCH Archives
| [aspngregexp] member
Click here to reveal e-mail address
= YOUR ID
|
http://www.asplists.com/asplists/aspngregexp.asp
= JOIN/QUIT
|
http://www.asplists.com/search
= SEARCH Archives
Reply to this message...
Damian Barrow
Yeah=20
I've just tried the tools over at Hexillion thx to (Dave Wanta) and I'm
fairly sure that it's an ongoing problem with them, not us. I was just
making sure on the reg-exp as I'm no expert on it.
Cheers
Damian=20
-----Original Message-----
From: Alex Lowe [mailto:
Click here to reveal e-mail address
]=20
Sent: 05 February 2002 17:22
To: aspngregexp
Subject: [aspngregexp] RE: Regex Q
Damian, you probably should send more code to [aspngfreeforall] if the
regexp is not the problem.
Alex - AspFriends.com Moderation Team
Microsoft MVP - ASP.NET
***********************************************************
Have a question about using client side coding in your ASP.NET pages?
Send your question to [aspngclient]
(
http://www.aspfriends.com/aspfriends/aspngclient.asp
)
***********************************************************
-----Original Message-----
From: Scott Watermasysk [mailto:
Click here to reveal e-mail address
]
Sent: Tuesday, February 05, 2002 10:15 AM
To: aspngregexp
Subject: [aspngregexp] RE: Regex Q
It works for me (the regex).
-Scott
-----Original Message-----
From: Damian Barrow [mailto:
Click here to reveal e-mail address
]=20
Sent: Tuesday, February 05, 2002 10:24 AM
To: aspngregexp
Subject: [aspngregexp] Regex Q
-- Copied from [aspngfreeforall] to [aspngregexp] by Alex Lowe
<
Click here to reveal e-mail address
> --
Hi all
Could someone double check this for me please:
strEmail =3D3D txtEmail.Text
strPattern =3D3D "^[\w-+\.]+\@([\w-]+\.)+\w+$"
It should accept an email address of
Click here to reveal e-mail address
But when I try a DNS check using System.Net - it fails.
Other emails are successful though so I know the DNS checker is working.
Is my regex right - because our mail server has problems sending to this
specific domain (and other demon domains, but that's another issue..)
Cheers
Damian Barrow, MCSE+i
http://www.travelcounsellors.com
"If we knew what it was we were doing, it
would not be called research, would it?"
Albert Einstein=3D20
| [aspngregexp] member
Click here to reveal e-mail address
=3D YOUR =
ID
|
http://www.asplists.com/asplists/aspngregexp.asp
=3D JOIN/QUIT=20
|
http://www.asplists.com/search
=3D SEARCH Archives
| [aspngregexp] member
Click here to reveal e-mail address
=3D YOUR ID
|
http://www.asplists.com/asplists/aspngregexp.asp
=3D JOIN/QUIT=20
|
http://www.asplists.com/search
=3D SEARCH Archives
| [aspngregexp] member
Click here to reveal e-mail address
=3D YOUR ID
|
http://www.asplists.com/asplists/aspngregexp.asp
=3D JOIN/QUIT
|
http://www.asplists.com/search
=3D SEARCH Archives
Reply to this message...
Steven A Smith (VIP)
There are some very good tried-and-true regexes on
http://regexlib.com
. Also,
Michael Amundsen has an MX record checker at
http://webservices.eraserver.net/mxchecker/
which you might try as a sanity check.
Steve
Steven Smith, MCSE+Internet, Microsoft MVP: ASP.NET
Click here to reveal e-mail address
President, ASPAlliance.com
http://aspalliance.com
The #1 ASP.NET Community
http://aspsmith.com
ASP.NET Training for ASP Developers
Learning ASP.NET? Get My Book: ASP.NET By Example
http://www.amazon.com/exec/obidos/ASIN/0789725622/stevenatorasp/
.
----- Original Message -----
From: "Damian Barrow" <
Click here to reveal e-mail address
>
To: "aspngregexp" <
Click here to reveal e-mail address
>
Sent: Tuesday, February 05, 2002 11:22 AM
Subject: [aspngregexp] RE: Regex Q
Yeah
I've just tried the tools over at Hexillion thx to (Dave Wanta) and I'm
fairly sure that it's an ongoing problem with them, not us. I was just
making sure on the reg-exp as I'm no expert on it.
Cheers
Damian
-----Original Message-----
From: Alex Lowe [mailto:
Click here to reveal e-mail address
]
Sent: 05 February 2002 17:22
To: aspngregexp
Subject: [aspngregexp] RE: Regex Q
Damian, you probably should send more code to [aspngfreeforall] if the
regexp is not the problem.
Alex - AspFriends.com Moderation Team
Microsoft MVP - ASP.NET
***********************************************************
Have a question about using client side coding in your ASP.NET pages?
Send your question to [aspngclient]
(
http://www.aspfriends.com/aspfriends/aspngclient.asp
)
***********************************************************
-----Original Message-----
From: Scott Watermasysk [mailto:
Click here to reveal e-mail address
]
Sent: Tuesday, February 05, 2002 10:15 AM
To: aspngregexp
Subject: [aspngregexp] RE: Regex Q
It works for me (the regex).
-Scott
-----Original Message-----
From: Damian Barrow [mailto:
Click here to reveal e-mail address
]
Sent: Tuesday, February 05, 2002 10:24 AM
To: aspngregexp
Subject: [aspngregexp] Regex Q
-- Copied from [aspngfreeforall] to [aspngregexp] by Alex Lowe
<
Click here to reveal e-mail address
> --
Hi all
Could someone double check this for me please:
strEmail =3D txtEmail.Text
strPattern =3D "^[\w-+\.]+\@([\w-]+\.)+\w+$"
It should accept an email address of
Click here to reveal e-mail address
But when I try a DNS check using System.Net - it fails.
Other emails are successful though so I know the DNS checker is working.
Is my regex right - because our mail server has problems sending to this
specific domain (and other demon domains, but that's another issue..)
Cheers
Damian Barrow, MCSE+i
http://www.travelcounsellors.com
"If we knew what it was we were doing, it
would not be called research, would it?"
Albert Einstein=20
| [aspngregexp] member
Click here to reveal e-mail address
= YOUR ID
|
http://www.asplists.com/asplists/aspngregexp.asp
= JOIN/QUIT
|
http://www.asplists.com/search
= SEARCH Archives
| [aspngregexp] member
Click here to reveal e-mail address
= YOUR ID
|
http://www.asplists.com/asplists/aspngregexp.asp
= JOIN/QUIT
|
http://www.asplists.com/search
= SEARCH Archives
| [aspngregexp] member
Click here to reveal e-mail address
= YOUR ID
|
http://www.asplists.com/asplists/aspngregexp.asp
= JOIN/QUIT
|
http://www.asplists.com/search
= SEARCH Archives
| [aspngregexp] member
Click here to reveal e-mail address
= YOUR ID
|
http://www.asplists.com/asplists/aspngregexp.asp
= JOIN/QUIT
|
http://www.asplists.com/search
= SEARCH Archives
Reply to this message...
Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us
-
Terms of Use
-
Privacy Policy
-
www.dotnet247.com