I've found REGEX to be kind of a cumbersome tag to work with. Something I found that
was quite a bit easier to work with, was to use the <@SCRIPT> tag to do server side
javascript regex matching. I like the javascript regex matching much more.
Mike
Shannon Henderson wrote:
> Regular express
Thanks
I think this is a good snippet to keep along with the commented explanation.
I don't think I need it now but I am sure I can use it later.
Dan
on 6/7/02 7:45 PM, Shannon Henderson at [EMAIL PROTECTED]
wrote:
>
> Regular expressions are a bit tricky, but they can be quite handy. I found
Regular expressions are a bit tricky, but they can be quite handy. I found an error
in mine; it should have read: <@REGEX
EXPR="^[_a-zA-Z0-9-]+(\.[_a-zA-Z0-9-]+)*@[a-zA-Z0-9-]+(\.[a-zA-Z0-9-]+)+$" STR="<@ARG
email>" TYPE="E">. I'll explain why in a sec.
I am by no means an expert, but here
Shannon sent this awhile back but I am unsure how to implement it having
never used this tag before and on reading about it still being unclear.
Also I need to make sure that there are no spaces in the email in the email
and I am not sure it does that.
I am not in a hurry for an answer to this.
imply display "1". In Error HTML, "0".
Jon
-Original Message-
From: Garth Penglase [mailto:[EMAIL PROTECTED]]
Sent: 05 June 2002 4:08
To: Multiple recipients of list witango-talk
Subject: RE: Witango-Talk: Email validation
that's pretty cool - pls tell me when
that's pretty cool - pls tell me when that's available, could be very handy
in certain cases.
Garth
At 09:46 5/06/02 +0100, you wrote:
>One other thing I'll add to the examples posted is, I also have a further
>routine that takes the domain of the mail address and performs an NSLOOKUP
>to ensu
One other thing I'll add to the examples posted is, I also have a further
routine that takes the domain of the mail address and performs an NSLOOKUP
to ensure there is an MX record. The point is, this stops people putting in
any old crap to get past the form (i.e. [EMAIL PROTECTED])...
Jon
If you want to use a regular expression to validate it with your taf file, you can use:
<@REGEX EXPR="^[_a-zA-Z0-9-]+(\.[_a-zA-Z0-9-]+)*@[a-zA-Z0-9-]+(\.[a-zA-Z0-9-]+)*$"
STR="<@ARG email>" TYPE="E">
The only advantage this offers is the ability to block invalid characters.
Shannon Henderson
W
Here's my tcf for checking for invalid emails. I catches a lot
of common mistakes.
Stefan
>-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED]]On Behalf Of Dan Stein
>Sent: Monday, June 03, 2002 5:48 PM
>To: Multiple recipients of list witango-talk
>Subject: Witango-T
>Try This in the header...
>
>