I would like to split a string contains some numbers and letters. Like this:
ABCd Abhe123
123ABCd Abhe
ABCd Abhe 123
123 ABCd Abhe
I tried this:
<?php preg_split('#(?<=\d)(?=[a-z])#i', "ABCd Abhe 123"); ?>
But it doesn't work. Only one cell in array with "ABCd Abhe 123"
I would like for example, in cell 0: numbers and in cell1: string:
[0] => "123",
[1] => "ABCd Abhe"
Thank you for your help! ;)