my RegularExpression-skills are in need of improvement. So maybe somebody could help me to get back on track.
Background: I have a TextBox where the user can enter a year/week-Combination instead of entering the date. I'm converting that on serverside to a date instance(last day of that week). Now i have to validate this with a RegularExpressionValidator.
Format: An exemplary format could be 10w32
for year 2010 and calendar-week 32. The digit w is case-insentive. The weeknumber should be between 1 and 53.
Other valid examples:
99w02 -> 1999 week 2
2W53 -> 2002 week 53
2001w1 -> 2001 week 1
Thank you in advance.