I need to replace dynamic file extensions which contain timestamp for certain date with a fixed file extension.
For example,
08242016G0040156.ZIP.20160907141452
09042016SHOC0003.ZIP.20160904044504
I need these to be replaced with 08242016G0040156.ZIP
and 09042016SHOC0003.ZIP
respectively.