Write a program to find all maximum substrings of digits. Return only these substrings separated by spaces in their order. Do use regular expressions.