Validations - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!



I am currently doing a project for school in which I must validate the users phone number and e-mail.
I am using reg expressions but for some reason they won't work properly.
Here is the expression for the phone:
can someone verify it for me and possibly correct it.

Here is the exprssion for the email:
Both of these function check to see if the value is null and they also check for invalid characters that can be introduced in the string sequence.
The remainder work but not this.

Thanks it would be appreciated.

Sign In or Register to comment.