Click here to Skip to main content
15,890,690 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
everybody must have used regular expression validator(REGEX)in their WEBSITES....
but anybody does know the logic behind creating REGEX...?
Posted
Updated 7-Oct-13 1:12am
v2

May be this article will help you
Learn Regular Expressions (RegEx) with Ease[^]

Thanks
 
Share this answer
 
Comments
Thanks7872 7-Oct-13 8:00am    
Excellent. +5..!
M Rayhan 7-Oct-13 8:06am    
thanks
Check this page, explained clearly
http://en.wikipedia.org/wiki/Regular_expression[^]

Besides a simple example:
To validate a email, you need to write a javascript or server side code. But regular expression makes your task easier. If there's a change then you just need to update regularexpression.
There's also a control RegularExpressionValidator[^] in ASP.NET to do validations using regex.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900