This discussion is archived
4 Replies Latest reply: May 21, 2009 4:40 AM by JosAH RSS

how to get year value using regular expression

807588 Newbie
Currently Being Moderated

I have a different format of date such as 2004-01-03, 2003/01, 05/06/2005, 06-05-2007

How can I get only the year value using regular expression? The year value is always in 4 digits

Thanks in advance