mansi sharma
Member
- Joined
- Mar 8, 2009
- Messages
- 16
- Programming Experience
- Beginner
First of all frnds tell me dat where to put ASP.net Question with C#.is this d correct forum,I m using!!!
Can somebody help me in making me understand the regex function-
What these characters means
/^(\w+[\-\.])*\w+@(\w+\.)+[A-Za-z]+$/
Can somebody help me in making me understand the regex function-
What these characters means
/^(\w+[\-\.])*\w+@(\w+\.)+[A-Za-z]+$/
VB.NET:
function validate(input)
{
var email =/^(\w+[\-\.])*\w+@(\w+\.)+[A-Za-z]+$/;
if(email.test(input))
{
return true;
}
else
{
alert('invalid email id');
return false;
}
}