List Info

Thread: regex email validation




regex email validation
country flaguser name
United States
2008-05-13 18:15:08

<script>
rMail = " walter%40wconti.com">walterwconti.com";
var re = /^[_a-z0-9-]+(.[_a-z0-9-]+)*[a-z0-9-]+(.[a-z0-9-]+)*(.[a-z]
{2,3})$/i;
var re = /^([^s]+)((?:[-a-z0-9]+.)+[a-z]{2,})$/;

alert(!re.test(rMail));

</script>

Either re return false : for the life of me I cannot see the error.
They "used" to work properly. Please help.

__._,_.___
.

__,_._,___
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )