how to restrict mobile number, email address in multipletextbox

Posted by Ramakrishna188 under C# on 2/11/2013 | Points: 10 | Views : 906 | Status : [Member] | Replies : 4
i am sending a mail for this i am entering text in multipletextbox . i want to restrict the mobile number and
email address in this multipletextbox. if user enter after user if click the sendmail button i want to show
error message. please tell me any one.




Responses

Posted by: Kundnani.Rt on: 2/12/2013 [Member] Starter | Points: 25

Up
0
Down
http://www.dotnetfunda.com/codes/code4129-validating-mobile-number-in-aspnet-page-textbox-using-regex-in-csharp.aspx

Ramakrishna188, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Kundnani.Rt on: 2/12/2013 [Member] Starter | Points: 25

Up
0
Down
Same Procedure you have to follow for E-Mail Address Validation

Ramakrishna188, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Kundnani.Rt on: 2/12/2013 [Member] Starter | Points: 25

Up
0
Down
Only thing you have to do is

Replace Pattern as: @"\b[A-Z0-9._%-]+@[A-Z0-9.-]+\.[A-Z]{2,4}\b";

Ramakrishna188, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Kundnani.Rt on: 2/12/2013 [Member] Starter | Points: 25

Up
0
Down
Please feel free to ask any queries

Ramakrishna188, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response