I have a code that can receive 2 types of string:
-
text number text
danny levitt 48 new york
-
text number [comma] text
danny levitt 48, new york
The text on both size can be a single word or more, and the language might not be english.
I need those strings to return to me in an array as follows:
Array (
0 => "danny levitt",
1 => "48",
2 => "new york"
)
How can I do that?
Thanks.