469,275 Members | 1,802 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,275 developers. It's quick & easy.

Email-address validation

Simple question: Does Framework (1.1) contain any routine to check entered
email-address is valid ?

It's quite easy to make own code for that purpose, but why to do if
Framework (1.1) contain this kind of routine.

--
Thanks in advance!

Mika
Nov 21 '05 #1
35 3040
Hi,
You can use regular expressions for that. Check out the
System.Text.RegularExpressions namespace in the FCL. You can get regular
expressions for various pattern and format validations from many web sites.
One such site is http://www.regexlib.com/

HTH

"Mika M" <mika.mahonen@nospam_kolumbus.fi> wrote in message
news:OC**************@TK2MSFTNGP09.phx.gbl...
Simple question: Does Framework (1.1) contain any routine to check entered
email-address is valid ?

It's quite easy to make own code for that purpose, but why to do if
Framework (1.1) contain this kind of routine.

--
Thanks in advance!

Mika

Nov 21 '05 #2
"Mika M" <mika.mahonen@nospam_kolumbus.fi> schrieb:
Simple question: Does Framework (1.1) contain any routine to check entered
email-address is valid ?
No.
It's quite easy to make own code for that purpose


Are you sure?!

Parsing Email Addresses using an RFC822 Compliant Address Validator
<URL:http://www.codeproject.com/csharp/RFC822Validator.asp>

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 21 '05 #3
Dim regValidEmail As New
System.Text.RegularExpressions.Regex("^[a-zA-Z][\w\.-]*[a-zA-Z0-9]@[a-zA-Z0-9][\w\.-]*[a-zA-Z0-9]\.[a-zA-Z][a-zA-Z\.]*[a-zA-Z]$")

If Not regValidEmail.IsMatch(VariableChecked) Then
MsgBox("That is incorrect. The Packers will win the super
bowl.")
End If

"Mika M" <mika.mahonen@nospam_kolumbus.fi> wrote in message
news:OC**************@TK2MSFTNGP09.phx.gbl:
Simple question: Does Framework (1.1) contain any routine to check entered

email-address is valid ?

It's quite easy to make own code for that purpose, but why to do if
Framework (1.1) contain this kind of routine.


Nov 21 '05 #4
| > It's quite easy to make own code for that purpose
|
| Are you sure?!

don't be a smart-ass herf! is it quite easy to validate email addresses no
matter what rfc you design your code after...and, 822 is the simplest. you
could have at least chosen a harder one to support your smugness.

why are you an "mvp"?
Nov 21 '05 #5
good attempt but not fully rfc compliant...doesn't handle:

joe blow <jb***@abc.com>
"super dave osborne"@abc.com
sn************@abc.com

etc., etc., etc.
Nov 21 '05 #6
Dim regValidEmail As New
System.Text.RegularExpressions.Regex("^[a-zA-Z][\w\.-]*[a-zA-Z0-9]@[a-zA-Z0-9][\w\.-]*[a-zA-Z0-9]\.[a-zA-Z][a-zA-Z\.]*[a-zA-Z]$")

If Not regValidEmail.IsMatch(VariableChecked) Then
MsgBox("That is incorrect. The Packers will win the super
bowl.")
End If

"Mika M" <mika.mahonen@nospam_kolumbus.fi> wrote in message
news:OC**************@TK2MSFTNGP09.phx.gbl:
Simple question: Does Framework (1.1) contain any routine to check entered

email-address is valid ?

It's quite easy to make own code for that purpose, but why to do if
Framework (1.1) contain this kind of routine.


Nov 21 '05 #7
| > It's quite easy to make own code for that purpose
|
| Are you sure?!

don't be a smart-ass herf! is it quite easy to validate email addresses no
matter what rfc you design your code after...and, 822 is the simplest. you
could have at least chosen a harder one to support your smugness.

why are you an "mvp"?
Nov 21 '05 #8
good attempt but not fully rfc compliant...doesn't handle:

joe blow <jb***@abc.com>
"super dave osborne"@abc.com
sn************@abc.com

etc., etc., etc.
Nov 21 '05 #9
"steve" <a@b.com> schrieb:
| > It's quite easy to make own code for that purpose
|
| Are you sure?!

don't be a smart-ass herf! is it quite easy to validate email addresses no
matter what rfc you design your code after...
Well, I would not consider writing the regular expression for RFC compliant
email address validation an "easy" job:

<URL:http://groups.google.de/groups?selm=...TK2MSFTNGP12.p
hx.gbl>
and, 822 is the simplest. you could have at least chosen a harder
one to support your smugness.


?!?

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 21 '05 #10
"steve" <a@b.com> schrieb:
| > It's quite easy to make own code for that purpose
|
| Are you sure?!

don't be a smart-ass herf! is it quite easy to validate email addresses no
matter what rfc you design your code after...
Well, I would not consider writing the regular expression for RFC compliant
email address validation an "easy" job:

<URL:http://groups.google.de/groups?selm=...TK2MSFTNGP12.p
hx.gbl>
and, 822 is the simplest. you could have at least chosen a harder
one to support your smugness.


?!?

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 21 '05 #11
What did not "handle"?

"steve" <a@b.com> wrote in message
news:10*************@corp.supernews.com:
good attempt but not fully rfc compliant...doesn't handle:

joe blow <jb***@abc.com>
"super dave osborne"@abc.com
sn************@abc.com

etc., etc., etc.


Nov 21 '05 #12
Ok I would like to see your solution please.
"steve" <a@b.com> wrote in message
news:10*************@corp.supernews.com:
good attempt but not fully rfc compliant...doesn't handle:

joe blow <jb***@abc.com>
"super dave osborne"@abc.com
sn************@abc.com

etc., etc., etc.


Nov 21 '05 #13
What did not "handle"?

"steve" <a@b.com> wrote in message
news:10*************@corp.supernews.com:
good attempt but not fully rfc compliant...doesn't handle:

joe blow <jb***@abc.com>
"super dave osborne"@abc.com
sn************@abc.com

etc., etc., etc.


Nov 21 '05 #14
Why aren't you an MVP?

Why are you dumping on Herfried?

"steve" <a@b.com> wrote in message
news:10*************@corp.supernews.com:
| > It's quite easy to make own code for that purpose
|
| Are you sure?!

don't be a smart-ass herf! is it quite easy to validate email addresses no

matter what rfc you design your code after...and, 822 is the simplest. you

could have at least chosen a harder one to support your smugness.

why are you an "mvp"?


Nov 21 '05 #15
Ok I would like to see your solution please.
"steve" <a@b.com> wrote in message
news:10*************@corp.supernews.com:
good attempt but not fully rfc compliant...doesn't handle:

joe blow <jb***@abc.com>
"super dave osborne"@abc.com
sn************@abc.com

etc., etc., etc.


Nov 21 '05 #16
Why aren't you an MVP?

Why are you dumping on Herfried?

"steve" <a@b.com> wrote in message
news:10*************@corp.supernews.com:
| > It's quite easy to make own code for that purpose
|
| Are you sure?!

don't be a smart-ass herf! is it quite easy to validate email addresses no

matter what rfc you design your code after...and, 822 is the simplest. you

could have at least chosen a harder one to support your smugness.

why are you an "mvp"?


Nov 21 '05 #17
| What did not "handle"?

| "steve" <a@b.com> wrote

| > joe blow <jb***@abc.com>
| > "super dave osborne"@abc.com
| > sn************@abc.com

doesn't handle those cases.
Nov 21 '05 #18
| What did not "handle"?

| "steve" <a@b.com> wrote

| > joe blow <jb***@abc.com>
| > "super dave osborne"@abc.com
| > sn************@abc.com

doesn't handle those cases.
Nov 21 '05 #19
<in-line>

"scorpion53061" <ad***@nospamherekjmsolutions.com> wrote

| Ok I would like to see your solution please.
^((?>[a-zA-Z\d!#$%&'*+\-/=?^_`{|}~]+\x20*|"((?=[\x01-\x7f])[^"\\]|\\[\x01-\x7f])*"\x20*)*(?<angle><))?((?!\.)(?>\.?[a-zA-Z\d!#$%&'*+\-/=?^_`{|}~]+)+|"((?=[\x01-\x7f])[^"\\]|\\[\x01-\x7f])*")@(((?!-)[a-zA-Z\d\-]+(?<!-)\.)+[a-zA-Z]{2,}|\[(((?(?<!\[)\.)(25[0-5]|2[0-4]\d|[01]?\d?\d)){4}|[a-zA-Z\d\-]*[a-zA-Z\d]:((?=[\x01-\x7f])[^\\\[\]]|\\[\x01-\x7f])+)\])(?(angle)>)$

not mine but one i have decided to use b/c it supports a more current email
rfc than the one i had made.
Nov 21 '05 #20
<in-line>

"scorpion53061" <ad***@nospamherekjmsolutions.com> wrote

| Ok I would like to see your solution please.
^((?>[a-zA-Z\d!#$%&'*+\-/=?^_`{|}~]+\x20*|"((?=[\x01-\x7f])[^"\\]|\\[\x01-\x7f])*"\x20*)*(?<angle><))?((?!\.)(?>\.?[a-zA-Z\d!#$%&'*+\-/=?^_`{|}~]+)+|"((?=[\x01-\x7f])[^"\\]|\\[\x01-\x7f])*")@(((?!-)[a-zA-Z\d\-]+(?<!-)\.)+[a-zA-Z]{2,}|\[(((?(?<!\[)\.)(25[0-5]|2[0-4]\d|[01]?\d?\d)){4}|[a-zA-Z\d\-]*[a-zA-Z\d]:((?=[\x01-\x7f])[^\\\[\]]|\\[\x01-\x7f])+)\])(?(angle)>)$

not mine but one i have decided to use b/c it supports a more current email
rfc than the one i had made.
Nov 21 '05 #21
<in-line>

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote

| Well, I would not consider writing the regular expression for RFC
compliant
| email address validation an "easy" job:

then you don't know regular expressions nor the rfc.

|
<URL:http://groups.google.de/groups?selm=...TK2MSFTNGP12.p
| hx.gbl>

anyone who claims absolution of solution should only be considered wrong!
"This is the one and only RFC-822-compliant regex" that's a moronic
statement! as is the regular expression provided in that url.

| > and, 822 is the simplest. you could have at least chosen a harder
| > one to support your smugness.
|
| ?!?

2846 for example herf! apparently neither the email address rfc's nor
regular expressions are your strong-suit. were you not aware that there was
more than one rfc?
Nov 21 '05 #22
<in-line>

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote

| Well, I would not consider writing the regular expression for RFC
compliant
| email address validation an "easy" job:

then you don't know regular expressions nor the rfc.

|
<URL:http://groups.google.de/groups?selm=...TK2MSFTNGP12.p
| hx.gbl>

anyone who claims absolution of solution should only be considered wrong!
"This is the one and only RFC-822-compliant regex" that's a moronic
statement! as is the regular expression provided in that url.

| > and, 822 is the simplest. you could have at least chosen a harder
| > one to support your smugness.
|
| ?!?

2846 for example herf! apparently neither the email address rfc's nor
regular expressions are your strong-suit. were you not aware that there was
more than one rfc?
Nov 21 '05 #23
<in-line>

"scorpion53061" <ad***@nospamherekjmsolutions.com> wrote

| Why aren't you an MVP?

i actually work for a living. ;^)

| Why are you dumping on Herfried?

herf *never* demonstrates a command for the language he is "mvp-ing". his
retort relies on posting url's to other people's bodies of work...and those
url's rarely directly answer anyone's questions. and just as rarely, his own
code actually does apply, is efficient, and works!

i guess his original reply finally pushed me to say something.
Nov 21 '05 #24

"steve" <a@b.com> wrote in message
news:10*************@corp.supernews.com:
<in-line>

"scorpion53061" <ad***@nospamherekjmsolutions.com> wrote

| Why aren't you an MVP?

i actually work for a living. ;^)


Please post a link(s) pointing to articles you have written, code
samples put together, what you have given back to the community. I am
interested because I have not seen references to your work before as I
have the regulars here and it appears you are quite knowledgeable.

I understand what you are saying about "working for a living". I do too.
I wish I had more time to contribute, help and even more time to learn.
Because it is all to rare now that I have the time to learn new things.
Deadlines, Deadlines, Deadlines.......
Nov 21 '05 #25
"steve" <a@b.com> schrieb:
| Well, I would not consider writing the regular expression for RFC
compliant
| email address validation an "easy" job:

then you don't know regular expressions nor the rfc.


*PLONK*

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>

Nov 21 '05 #26
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote

| *PLONK*

"plonk"...now that's funny! i've been plonking you for years. it's just that
sometimes i find that i can't contain myself in response to some of your
usual brand of stupidity. your response, in typical herf fashion, to this
op's question being a prime example. ignore me all you want. it really
doesn't matter as i would throw out any response you would offer to a
question of mine as simply not viable or not applicable.

"plonk"...that is funny!
Nov 21 '05 #27
| Please post a link(s) pointing to articles you have written, code
| samples put together, what you have given back to the community. I am
| interested because I have not seen references to your work before as I
| have the regulars here and it appears you are quite knowledgeable.

wish i had the time to write articles and publish (for reading) code. i
don't. my contributions to community are offered in programming, teaching
programming, and hiring people with interests therein and helping them along
with their careers...including hiring some of them. if you're testing the
waters to find somthing of mine to pick apart, i'll not be providing such
opportunities. however, i'm still learning the "new-to-me" nuances of a
truly more oop language. at the same time though, i am very good at what i
do...i simply don't know everything...yet.

most importantly, i don't address posts here that i don't feel i can help in
providing an answer that works. as far as herf goes, he's been an mvp here
since this group's inception. i ask you to simply compare his responses to
say, harlow's (mvp too), or even cor (not mvp). this comparison should lead
you to ask the question, "why is herf an mvp?"

anyway, that's enough of this. you jumped in to defend someone and that's
fine. just know that it's my issue and no one elses. herf just get's called
on it every once in a while when i can't stand it any longer.

cheers.
Nov 21 '05 #28
i
don't. my contributions to community are offered in programming, teaching

programming, and hiring people with interests therein and helping them
along
with their careers...including hiring some of them.
Hey now you got my attention!! What postitions are you hiring for? :) If
you need contract work I am all ears....

if you're testing the
waters to find somthing of mine to pick apart, i'll not be providing such

opportunities.
Why would I want to pick you apart? I am seeking information about what
it is you do, your skill level and such. There are times when I look for
help and it is nice to know who the experts are in the various related
fields.

however, i'm still learning the "new-to-me" nuances of a truly more oop language. at the same time though, i am very good at what i

do...i simply don't know everything...yet.
Nobody knows everything. Ken Tucker rules when it comes to datagrids, I
am good at Office automation, Jay is the guy when it comes to Outlook,
Bill Ryan does just about everything but he learns as well. The point is
that is how we get better is by learning from each other. Especially
when it comes to .NET when schools and such have been very slow to adopt
teaching it.

most importantly, i don't address posts here that i don't feel i can help
in
providing an answer that works.
Point taken. Sometimes though an answer that gets a person started is
just as helpful. I know what you mean though. Sometimes people post
answers that are not all that helpful.

as far as herf goes, he's been an mvp here
since this group's inception. i ask you to simply compare his responses to

say, harlow's (mvp too), or even cor (not mvp). this comparison should
lead
you to ask the question, "why is herf an mvp?"
My interest in this thread has gone beyond Herf but is more interested
in knowing what you do and what your specialities are. No harm intended
to you. The fact you took on Herfried is pretty gutsy as everyone I have
ever known in this group has for the most part thought of Herfried as a
genius. Of course he is 16 or maybe 18 now and working at a University
so they may not be too far off. Of course when I was 16-18 I was a bit
anyway, that's enough of this. you jumped in to defend someone and that's

fine. just know that it's my issue and no one elses. herf just get's
called
on it every once in a while when i can't stand it any longer.

cheers.

You too. Hope you keep hanging around so the rest of us can benefit from
your knowledge and maybe you will learn things too.
Nov 21 '05 #29
| Hey now you got my attention!! What postitions are you hiring for? :) If
| you need contract work I am all ears....

we are thinking about hiring another vb.net guy to help me out...there's a
lot of stuff to do. i would not be your hiring manager for this position but
would be your project manager. the company is "progress rail services" based
in alabama. as i live in texas, they obviously don't have hang-ups about
working remotely as long as you maintain their trust in managing your time.
it provides various services to railroads like bnsf, ttx, etc.

the current project involves standard and compact .net framework development
for collecting/validating/synchronizing data from out in the field on up to
a central server. i don't know you or i would get you on fairly
quickly...for now, i'd just get in contact with the it department via
http://www.progressrail.com .

| Why would I want to pick you apart? I am seeking information about what
| it is you do, your skill level and such. There are times when I look for
| help and it is nice to know who the experts are in the various related
| fields.

most logical assumption. when defending a kettle, it is often best to start
by showing the pot its own color.

| Point taken. Sometimes though an answer that gets a person started is
| just as helpful. I know what you mean though. Sometimes people post
| answers that are not all that helpful.

true, but this is herf's modus apparandai.

| My interest in this thread has gone beyond Herf but is more interested
| in knowing what you do and what your specialities are. No harm intended
| to you. The fact you took on Herfried is pretty gutsy as everyone I have
| ever known in this group has for the most part thought of Herfried as a
| genius. Of course he is 16 or maybe 18 now and working at a University
| so they may not be too far off. Of course when I was 16-18 I was a bit

i do whatever needs to be accomplished and have thus far gone nearly run the
gammut. not gutsy...just not naive nor unexperienced...herf is no genius and
i've seen no supportive information to the contrary. and, there are plenty
of other who share my sentiments on that issue...we just speak out on rare
occasions.
Nov 21 '05 #30
>> Simple question: Does Framework (1.1) contain any routine to check
entered
email-address is valid ?


No.
It's quite easy to make own code for that purpose


Are you sure?!

Parsing Email Addresses using an RFC822 Compliant Address Validator
<URL:http://www.codeproject.com/csharp/RFC822Validator.asp>


Well... I mean making my own function for checking that email address looks
like correct returning true or false, but may not be really existing
email-address anyway. Function might check for example one '@' sign exists
somewhere in the middle of address, and after that is at least one dot but
not as a last character... and so on... :)

Ofcourse user's own sense is needed with this. I have to think this more...

Regular expressions are too terrible to use!
--
Mika
Nov 21 '05 #31
| Well... I mean making my own function for checking that email address
looks
| like correct returning true or false, but may not be really existing
| email-address anyway. Function might check for example one '@' sign exists
| somewhere in the middle of address, and after that is at least one dot but
| not as a last character... and so on... :)

no, you can't know if the user account actually exists but there are
standards (rfc 2822 for example) that let you know if the address supplied
conforms to a valid address. i doubt you've explored the rfcs at all based
on your "and so on..." naive explanation of what your function might do.
there are a lot more rules than that!

| Ofcourse user's own sense is needed with this. I have to think this
more...

no, this is not subjective validation. there are specific rules applied to
internet communication including the format of an email address. one's "own
sense" should be used in creating a function that follows these rules when
validating information that is preported to be an email address.

| Regular expressions are too terrible to use!

apply "i have to think this more..." to "regular expressions are too
terrible to use!". people who damn regular expressions simply don't know how
to use them much less write them...statements made from ignorance. if you
can show me an rfc compliant email validation function that you or anyone
else wrote that is shorter, quicker, or more maintainable than the two
regular expressions given in response to the op's question, i'll gladly shut
up. until then, keep you non-sensical, inexperienced opinions to
yourself...especially when the truth of the matter is not "regular
expressions are too terrible to use" but more likely that "you are too
terrible at using regular expressions"!
Nov 21 '05 #32
Oh wow man.......

"steve" <a@b.com> wrote in message
news:10*************@corp.supernews.com:
| Well... I mean making my own function for checking that email address
looks
| like correct returning true or false, but may not be really existing
| email-address anyway. Function might check for example one '@' sign
exists
| somewhere in the middle of address, and after that is at least one dot
but
| not as a last character... and so on... :)

no, you can't know if the user account actually exists but there are
standards (rfc 2822 for example) that let you know if the address supplied

conforms to a valid address. i doubt you've explored the rfcs at all based

on your "and so on..." naive explanation of what your function might do.

there are a lot more rules than that!

| Ofcourse user's own sense is needed with this. I have to think this
more...

no, this is not subjective validation. there are specific rules applied to

internet communication including the format of an email address. one's
"own
sense" should be used in creating a function that follows these rules when

validating information that is preported to be an email address.

| Regular expressions are too terrible to use!

apply "i have to think this more..." to "regular expressions are too
terrible to use!". people who damn regular expressions simply don't know
how
to use them much less write them...statements made from ignorance. if you

can show me an rfc compliant email validation function that you or anyone

else wrote that is shorter, quicker, or more maintainable than the two
regular expressions given in response to the op's question, i'll gladly
shut
up. until then, keep you non-sensical, inexperienced opinions to
yourself...especially when the truth of the matter is not "regular
expressions are too terrible to use" but more likely that "you are too
terrible at using regular expressions"!


Nov 21 '05 #33
Steve,

I sent a message on your web site. I am not sure where it ended up or
who the form went to.

Fact is you probably need someone better than me but hey it cant hurt to
try.

"steve" <a@b.com> wrote in message
news:10*************@corp.supernews.com:
| Hey now you got my attention!! What postitions are you hiring for? :)
If
| you need contract work I am all ears....

we are thinking about hiring another vb.net guy to help me out...there's a

lot of stuff to do. i would not be your hiring manager for this position
but
would be your project manager. the company is "progress rail services"
based
in alabama. as i live in texas, they obviously don't have hang-ups about

working remotely as long as you maintain their trust in managing your
time.
it provides various services to railroads like bnsf, ttx, etc.

the current project involves standard and compact .net framework
development
for collecting/validating/synchronizing data from out in the field on up
to
a central server. i don't know you or i would get you on fairly
quickly...for now, i'd just get in contact with the it department via
http://www.progressrail.com .

| Why would I want to pick you apart? I am seeking information about
what
| it is you do, your skill level and such. There are times when I look
for
| help and it is nice to know who the experts are in the various related
| fields.

most logical assumption. when defending a kettle, it is often best to
start
by showing the pot its own color.

| Point taken. Sometimes though an answer that gets a person started is
| just as helpful. I know what you mean though. Sometimes people post
| answers that are not all that helpful.

true, but this is herf's modus apparandai.

| My interest in this thread has gone beyond Herf but is more interested
| in knowing what you do and what your specialities are. No harm
intended
| to you. The fact you took on Herfried is pretty gutsy as everyone I
have
| ever known in this group has for the most part thought of Herfried as
a
| genius. Of course he is 16 or maybe 18 now and working at a University
| so they may not be too far off. Of course when I was 16-18 I was a bit

i do whatever needs to be accomplished and have thus far gone nearly run
the
gammut. not gutsy...just not naive nor unexperienced...herf is no genius
and
i've seen no supportive information to the contrary. and, there are plenty

of other who share my sentiments on that issue...we just speak out on rare

occasions.


Nov 21 '05 #34
a bit over-the-top...but you see how oppinions of "professionals" have
rippling effects as seen by the op's change in attitude about regex as a
viable option for validating email address patterns. that's probably why i
came on so strong when herf posted his original non-sense.

oh well, challenge still stands. ;^)
"scorpion53061" <ad***@nospamherekjmsolutions.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
| Oh wow man.......
|
|
|
| "steve" <a@b.com> wrote in message
| news:10*************@corp.supernews.com:
| > | Well... I mean making my own function for checking that email address
| > looks
| > | like correct returning true or false, but may not be really existing
| > | email-address anyway. Function might check for example one '@' sign
| > exists
| > | somewhere in the middle of address, and after that is at least one dot
| > but
| > | not as a last character... and so on... :)
| >
| > no, you can't know if the user account actually exists but there are
| > standards (rfc 2822 for example) that let you know if the address
supplied
| >
| > conforms to a valid address. i doubt you've explored the rfcs at all
based
| >
| > on your "and so on..." naive explanation of what your function might do.
| >
| > there are a lot more rules than that!
| >
| > | Ofcourse user's own sense is needed with this. I have to think this
| > more...
| >
| > no, this is not subjective validation. there are specific rules applied
to
| >
| > internet communication including the format of an email address. one's
| > "own
| > sense" should be used in creating a function that follows these rules
when
| >
| > validating information that is preported to be an email address.
| >
| > | Regular expressions are too terrible to use!
| >
| > apply "i have to think this more..." to "regular expressions are too
| > terrible to use!". people who damn regular expressions simply don't know
| > how
| > to use them much less write them...statements made from ignorance. if
you
| >
| > can show me an rfc compliant email validation function that you or
anyone
| >
| > else wrote that is shorter, quicker, or more maintainable than the two
| > regular expressions given in response to the op's question, i'll gladly
| > shut
| > up. until then, keep you non-sensical, inexperienced opinions to
| > yourself...especially when the truth of the matter is not "regular
| > expressions are too terrible to use" but more likely that "you are too
| > terrible at using regular expressions"!
|
Nov 21 '05 #35
| I sent a message on your web site. I am not sure where it ended up or
| who the form went to.
|
| Fact is you probably need someone better than me but hey it cant hurt to
| try.

well, actually all three projects have very similar aims and requirements.
there's a bunch of touch-screen stuff, web services, and db work involved.
i've built all of the touch-screen controls already (list boxes,
combo-boxes, software keyboard, etc.), so you wouldn't have to re-do that.
i've also got the interfaces for the object model built as well as all of
the server synchronization objects...blah, blah, blah. anyway, all you'd
really be doing would be taking an existing project and modifying it a tad
in order to collect, validate, and ship data.

btw, it went to personnel and will make its way to the it department in
short-order.

cheers.
Nov 21 '05 #36

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by chepiok | last post: by
88 posts views Thread by Mike | last post: by
5 posts views Thread by Das | last post: by
3 posts views Thread by Erik Johnson | last post: by
15 posts views Thread by Craig Hurley | last post: by
3 posts views Thread by IGD | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.