At the moment I use this way to resolve my question: re.findall(r'(\w+):\W(\d+)',str(tp[0])) However please gave me you suggestion on how to improve my ability to use regular expression on python Thanks so much!