using regular expression to split string in python,[match.group(0) for match in pattern.finditer('44442(2)2(2)44')]