I need to get array of string from a string e.g from this string
"1. Grease cake pans with oil spray and preheat your oven to 350°F.2. Dissolve the coffee powder in the hot water.3. Combine the flour with cocoa powder, sugar, baking powder, baking soda, salt oil, buttermilk, eggs, in a large bowl."
to
["1. Grease cake pans with oil spray and preheat your oven to 350°F.",
"2. Dissolve the coffee powder in the hot water."
"3. Combine the flour with cocoa powder, sugar, baking powder, baking soda, salt oil, buttermilk, eggs, in a large bowl."]
on the bases of digits in the strings, in normal cases
String.components(separatedBy: <#T##CharacterSet#>)
works fine but in this case I can't figure it out. thanks in advance