Regex search to flip date format

Regex search to flip date format

December 31, 2016

You can run a Regex search that will flip the format of dates from the mm/dd/yyyy format to the yyyy/mm/dd format.

 

So if we go into the well-beloved text editor, NotePad++  and enter Find and Replace we just need to find:

 

([0-9]+)/+([0-9]+)/+([0-9]+)

 

. . . and Replace it with: 

 

\3/\1/\2

 

 

. . . and the result is:

 

 

 

Voila!   Hope this last tip of 2016 is a lot of help to one and all.   Happy New Year!!


 

 

Please reload

Contact Me With Your Litigation Support Questions:

seankevinoshea@hotmail.com

  • Twitter Long Shadow

© 2015 by Sean O'Shea . Proudly created with Wix.com