Click here to Skip to main content
15,891,204 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Please give me the Validation Expression for
(Any Intiger/Current Year) or
(Any Intiger/2010)

Ex: 157/2010

Working fine for \d+/2010 but Not for ---

\d+/DateTime.Now.Year
Posted
Updated 14-Aug-10 1:39am
v3
Comments
Abhishek Sur 14-Aug-10 6:53am    
You tagged it to be CSS. I think this is not a CSS issue.

1 solution

\d+/2010

Do you want this?

Replace the current year in the string with DateTime.Now.Year
 
Share this answer
 
Comments
LebneizTech 17-Aug-10 7:07am    
Reason for my vote of 3
Thanks

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