why not just split on ':' and take the first and second part of the array?