I would like to split the strings like 2x3y5z, 4y, 5x6y, 7x4z into separate strings:
"2x3y5z" = { "2x", "3y", "5z" }
"7x4z"= { "7x", "4z" }
My current solution involves Substring and Replace and looks quite convoluted. Is it possible to do this in RegEx in a much simpler way ?
What are the rules to split the string? The following regexp assumes you have number from 0 to 9 and after that character from a to z.