Pascal THIVENT <[EMAIL PROTECTED]> wrote:
>on http://developer.netscape.com, you can find a set of javascript function
>to check a form.
>These function are based on regular expression that can be reused with PHP.
>So, let's go to
>http://developer.netscape.com/docs/examples/index.html?content=javascript.ht
>ml
>and then click on "Form Validation with JavaScript 1.2 Regular Expressions"
>I think you'll find what you're looking for

Oh dear. That's really quite a poor regex for e-mail addresses. It's
quite happy to accept 'this is not [EMAIL PROTECTED]', for instance.

The Perl Mail::Address module, in the mailtools package, does a somewhat
better job.

-- 
Colin Watson                                     [EMAIL PROTECTED]

Reply via email to