RegEx to Find and Replace Date Format from yyyy-mm-dd to dd/mm/yyy

Topics: Developer Forum, Project Management Forum, User Forum
Feb 23, 2016 at 4:24 PM
Edited Feb 23, 2016 at 4:42 PM
This is a very good program, Thanks. I want to find all date that looks like (2015-06-10) to (10/06/2015). In regular regex I did something like this ([0-9]{4})-([0-9]{2})-([0-9]{2}). How do I create the regex to find the date and also what expresion will replace the date.

Exaple Input (2015-06-31), (2015-08-01)
1,2015-11-24 10:25:34,0.0,000011466,11/8/2017,No
2,2015-11-24 10:25:44,0.0
3,2015-11-24 10:25:54,0.0
4,2015-11-24 10:26:04,0.0
5,2015-11-24 10:26:14,0.0
6,2015-11-24 10:26:24,0.0


    Output (31/06/2015), (01/08/2015)
  1,24/11/2015 10:25:34,0.0,000011466,11/8/2017,No
  2,24/11/2015  10:25:44,0.0
  3,24/11/2015  10:25:54,0.0
  4,24/11/2015 10:26:04,0.0
  5,24/11/2015  10:26:14,0.0
  6,24/11/2015  10:26:24,0.0