The file contains:
dateutkfilename25012009
I want to change the position of character 16th to 17th with 18th to 19th. And then change position of character 16th to 19th with 20th to 23rd... so it will be:
dateutkfilename20090125
I've tried to change position of character 16th to 17th with 18th to 19th using below code, but I don't understand why it not works:
'/dateutkfilename/s/\(.\{16\}\)\([0-9]\{2\}\)\(.*\)/\(.\{18\}\)\([0-9]\{2\}\)\(.*\)/g'
