On Jul 30, 2013, at 9:53 AM, Luis Cappa Banda <luisca...@gmail.com> wrote:

> The syntax is the following:
> 
> *E-mail: *
> text:/[a-z0-9_\|-]+(\.[a-z0-9_\|-]|)*@[a-z0-9-]|(\.[a-z0-9-]|)*\.([a-z]{2,4})/

Please note that the question of "How do I write a regex to match an email 
address" is one of the most discussed on the Internet.  Googling for "email 
address regular expression" will give you many many many many hits discussing 
how to do it, and lots of hotly-contested debates.  The topic is not nearly as 
simple as you might think at first glance.

There is no "right" way to do it.  Every approach you take will involve 
tradeoffs.  Read up on this already well-discussed topic and decide what answer 
is best for you in your case.

xoa


--
Andy Lester => a...@petdance.com => www.petdance.com => AIM:petdance

Reply via email to