regular expression validator

Posted by Mahesh.d16 under ASP.NET on 3/9/2011 | Points: 10 | Views : 2149 | Status : [Member] | Replies : 14
explain validation expression of regular expression validator for email




Responses

Posted by: Raja on: 3/9/2011 [Member] Starter | Points: 25

Up
0
Down
Hi Mahesh,

You can read this tutorials about RegularExpressionValidator - http://www.dotnetfunda.com/tutorials/controls/regularexpressionvalidator.aspx.

Thanks

Regards,
Raja, USA

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

Posted by: Madhu.b.rokkam on: 3/9/2011 [Member] [MVP] Bronze | Points: 25

Up
0
Down
you can also check this link

http://www.codeproject.com/KB/recipes/EmailRegexValidator.aspx

Thanks and Regards
Madhu

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

Posted by: Akiii on: 3/9/2011 [Member] Bronze | Points: 25

Up
0
Down
Are there any web based application where we can generate regular expression ?
i know a software known as "regexbuddy" but one must purchase it to do anything .......
Please, anyone shed some light one this ?

Thanks and Regards
Akiii

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

Posted by: Karthikanbarasan on: 3/9/2011 [Member] [Moderator] [Microsoft_MVP] [MVP] Silver | Points: 25

Up
0
Down
Check the below link

http://www.c-sharpcorner.com/uploadfile/prasad_1/regexppsd12062005021717am/regexppsd.aspx

Thanks
Karthik
www.f5Debug.net

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

Posted by: Prabhakar on: 3/10/2011 [Member] [MVP] Starter | Points: 25

Up
0
Down
Hi mahesh .

you also check this link . .

http://www.dotnetfunda.com/tutorials/controls/regularexpressionvalidator.aspx

Best Regard's
Prabhakar

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

Posted by: Mesh_2010 on: 3/10/2011 [Member] Starter | Points: 25

Up
0
Down

Hi,

You can check link bellow

http://msdn.microsoft.com/en-us/library/system.web.ui.mobilecontrols.regularexpressionvalidator.validationexpression.aspx

Thanks
RameSH sinGH

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

Posted by: Akiii on: 3/11/2011 [Member] Bronze | Points: 25

Up
0
Down
@Karthikanbarasan..........
its a very good link......thanks for your help...

@Prabhakar...@Mesh_2010 ......thanks for your links.....but i want an application where i can put my sample and it will generate regular expression.....!

Thanks and Regards
Akiii

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

Posted by: Karthikanbarasan on: 3/11/2011 [Member] [Moderator] [Microsoft_MVP] [MVP] Silver | Points: 25

Up
0
Down
Sure AKii!!!

Thanks
Karthik
www.f5Debug.net

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

Posted by: Vforvijay on: 3/12/2011 [Member] Starter | Points: 25

Up
0
Down
hi...

try this code ...............For Email


/^([a-zA-Z0-9])+([\.a-zA-Z0-9_-])*@([a-zA-Z0-9])+(\.[a-zA-Z0-9_-]+)+$/

^(([a-zA-Z0-9])+([\.a-zA-Z0-9_-])*@([a-zA-Z0-9])+(\.[a-zA-Z0-9_-]+)?(\.[a-zA-Z0-9_-]+))$


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

Posted by: Akiii on: 3/14/2011 [Member] Bronze | Points: 25

Up
0
Down
@Vforvijay ...
thank you for ur help.....but what i am asking is an application that can generate regular expression...
Please let me know if you have any information abt this.
Thank you for ur time...

Thanks and Regards
Akiii

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

Posted by: Mesh_2010 on: 3/14/2011 [Member] Starter | Points: 25

Up
0
Down

Hi Akiii,

use this code to our project...

<asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="cus_code"
ErrorMessage="X" Display="Dynamic" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"
ValidationGroup="Login">
</asp:RegularExpressionValidator>



Thanks
RameSH sinGH

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

Posted by: Gsolvers on: 3/14/2011 [Member] Starter | Points: 25

Up
0
Down
http://www.spaweditor.com/scripts/regex/

A very goos expression tester. Please try.

Best Regards,

VG
www.TeacherJi.com

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

Posted by: Karthikanbarasan on: 3/15/2011 [Member] [Moderator] [Microsoft_MVP] [MVP] Silver | Points: 25

Up
0
Down
Good link Gsolvers!!!

Thanks
Karthik
www.f5Debug.net

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

Posted by: Muhsinathk on: 6/8/2012 [Member] Bronze | Points: 25

Up
0
Down
http://www.w3schools.com/aspnet/control_regularexpvalidator.asp

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

Login to post response