<?php $mystring = "A1B22C333";$pattern = '~(?<!^)(?=\D)~';$arr = preg_split($pattern, $mystring);print_r($arr);
Standard input is empty
Array ( [0] => A1 [1] => B22 [2] => C333 )
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!