Can use regex to cut/parse the string?

Hello :wave: and welcome to the forum, @ha1mor

please see the detailed solution provided in this topic: