in reply to Why doesn't this s/regex// work?

Your regex says look for the first colon, then take anything and everything to the end of the string. Perhaps you need to use split or [^:]* instead of .*.

Phil