C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !




These are the regular Expression formats


Posted Date: 08 Aug 2006    Resource Type: Articles    Category: .NET Framework
Author: shital DharmadhikariMember Level: Silver    
Rating: Points: 5



These are the regular Expression formats





DD-MMM-YYYY



^([012]?\d|3[01])-([Jj][Aa][Nn]|[Ff][Ee][bB]|[Mm][Aa][Rr]|[Aa][Pp][Rr]|[Mm][Aa][Yy]|[Jj][Uu][Nn]|[Jj][u]l|[aA][Uu][gG]|[Ss][eE][pP]|[oO][Cc]|[Nn][oO][Vv]|[Dd][Ee][Cc])-(19|20)\d\d$


DD-MM-YYY



^([1-9]|[12][0-9]|3[01]||0[1-9]|[12][0-9]|3[01])[- /.]([1-9]|1[012]||0[1-9]|1[012])[- /.](20)\d\d

MM-DD-YYYY



^([1-9]|1[012]||0[1-9]|1[012])[- /.]([1-9]|[12][0-9]|3[01]||0[1-9]|[12][0-9]|3[01])[- /.](20)\d\d

for only numerics in textBox



^[0-9]{0,10}$







Responses

Author: Ragunath R    09 Aug 2006Member Level: Silver   Points : 0
Wht are the syntax in Regular Expression and How can we write our own Regular Expression ?


Feedbacks      
Popular Tags   What are tags ?   Search Tags  
(No tags found.)

Post Feedback


This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must Sign In to post a response.
Next Resource: DataSet Vs DataReader
Previous Resource: Configuration files in ASP.net
Return to Discussion Resource Index
Post New Resource
Category: .NET Framework


Post resources and earn money!
 
Related Resources



dotNet Slackers   BizTalk Adaptors    Web Design


Contact Us    Privacy Policy    Terms Of Use