Regex solution for splitting KSS/code pairs