Help a newbie
"IPVP" <[email protected]> Tue, 14 Dec 2004 11:33:29 -0300
| Newsgroups | gmane.comp.jakarta.regexp.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, I am changing a system developed by other company. This system uses Jakarta Regexp to validate a e-mail. Now I need to change this to alow a e-mail address like this [email protected] Actual Regexp : "^\w+(\.\w+)*(\_\w+)*@\w+(\_\w+)*(\.\w+)+(\_\w+)*$" I am trying this but not works: "^\w+(\.\w+)*(\-+)*(\_\w+)*@\w+(\_\w+)*(\-+)*(\.\w+)+(\_\w+)*$" Could you help me ?? Thanks a lot