or download this
use strict;
use warnings;
...
old indiv string is AutoE=1~AutoS=A~AutoT=1~TFrom=16.10.2017 08:00.000
+ SDT Greenwich Standard Time~TTill=16.10.2017 09:00.000 SDT Greenwich
+ Standard Time~PLSType=0~GroupID=5922~ChkGrp=1~JobDefRegisterSets=~ !
+!
new indiv string is AutoE=1~AutoS=A~AutoT=1~TFrom=16.10.2017 08:00.000
+ SDT Greenwich Standard Time~TTill=16.10.2017 09:00.000 SDT Greenwich
+ Standard Time~PLSType=0~GroupID=5922~ChkGrp=1~JobDefRegisterSets=~ !
+!