Change date formats with Vim
Convert dates in this format (01/01/2012) to this one (2012/01/01):
%s/\(\d\d\)\/\(\d\d\)\/\(201\d\)/\3\/\1\/\2/
Vim it. Crazy, huh? I finally took the time to learn me some back references. To use those back references separately, I discovered groups. The escaped parens are the group boundaries.