Click here to Skip to main content
15,921,250 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how can we set only day(wenesday) in regural expression validation. I want to make my own regular expression. If any one can help me or gives me an idea how can i makes it easy.
Posted

Try this: \b(Wednesday)
Tested on: Regex Tester[^] with: Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday as input string.
 
Share this answer
 
Comments
VJ Reddy 1-Jun-12 2:30am    
Good answer to the info provided in the question. 5!
Maciej Los 1-Jun-12 2:49am    
Thank you, VJ ;)
 
Share this answer
 
v2
Comments
Maciej Los 31-May-12 8:11am    
HTML tags added ;)

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