I am looking for a regex that collects everything between the last colon (:) and the first space before it. So if I have the sentence "HUHweg: 4ihfw:euigr yalalala:" I want to collect "yalalala".
I came up with " (?<content>)/[^:]*$" but the content group is empty. I expect that a space followed by the content untill the last : from the end ($) would work, but it does not. How can it be made to work?