gsub(pattern = "-(\\d{2})$", replacement = "-19\\1", x = "10-Feb-52")
Standard input is empty
[1] "10-Feb-1952"
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!