I need a regular expression that has to bring me the following answer.
If the date entered as '4-10-31' then change it to 2004-10-31.
If the year entered as '14-11-31' then change it to 2014-11-31
It can be done in many ways. But I need it to be done using single regular experssion.
Becasue Perl can do that
In reply to need regular expression by jesuashok
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |