Hi I am trying to convert a string of the format 2018-01-01 16-45-21-654278
to a proper timestamp string so basically I want to replace all - after the date part I am getting a bit stuck, lookbehind doesnt seem to work as it includes the lookbehind on every occurence last attempt is s/(?<= )-/:/g; any help appreciated Mike