EDIT: Previously marked as duplicated. But the reporters seems don't understand my question.
I have the string data like
Aabc123def457ghi123jkl950asd489are - has no space or character for splitting
AB950asd489are
ABC950asd489are
and I want to split--EDIT:not just splitting each string by a character or string, since the splitting that I need was between alpha and numeric characters--those into arrays of strings like this
"Aabc123def457ghi123jkl950asd489are" => [A,abc,123,def,457,ghi,123,jkl,950,asd,489,are] (can we use String.split method? nope)
"AB950asd489are" => [AB,950,asd,489,are]
"ABC950asd489are" => [ABC,950,asd,489,are]
Just like a currency formatter with comma ,
and split it into array. I need to find a regex for that, or is there any way to do that?