Start a new topic

Can someone help me with a Regex dictionary to format date.

 My current date format is 1/1/2015. I would like to just show 2015.


Can someone help me with this dictionary.


Thanks

Nicol

1 Comment

Hi Nicol,


There are a few different ways to do this.  Off the top of my head value to match on (\d+/\d+)/(\d{4}) with a replacement value of $2 should do the trick.


Thanks,


John


1 person likes this
Login or Signup to post a comment