I have a string containing a numeration like this:
$string = '01. Just an example 02. Another example 03. Just another example 04. Example.mp3 05. Test 123 06. Just an example again';
And now I want to convert this string (without any breaks) containing this numeration to an array that contains these items ("Just an example", "Another example", "Just another example" etc).
I cant' just use
$array = explode('.', $string);
because those items can also contain dots and other symbols or numbers like in my fourth item called "Example.mp3". The numeration goes up to about 50, but the amount of items isn't the same every time (sometimes I have just one item, but sometimes I have 2, 3 or even 15 items in this string). It doesn't always start with a 0.
How can I "convert" this string into an array without using the dot as separator but maybe using this whole numberation format and the dot together as a separator?