<?php $strings = [ '10a99b5c', '55', '2a3b1', 'g', ]; var_export( array_map( fn($string) => preg_split('/\d+\K/', $string, 0, PREG_SPLIT_NO_EMPTY), $strings ) );
You have javascript disabled. You will not be able to edit any code.