Convert dd/mm/yyyy to yyyy-mm-dd in Vim

Sept. 28, 2014, 11:20 p.m.

:%s/\(\d\{2}\)\/\(\d\{2}\)\/\(\d\{4}\)/\3-\2-\1/g
vim

Comments