$abc = "abc123efg456";
Yes it could work if there always were triplets in the string. But
there may be for example "a123ef456". There must by some kind of regular
expression in it.
for regular expressions, maybe you can make an r.e. that requires either a string of letters, OR a string of numbers.
like $pattern=[a-z]+|[0-9]+
<?PHP
$String="1aaa98iuyiu22iodowqd290808ooo9911";
preg_match_all("/[a-z]+|[0-9]+/",$String,$PHP_code);
for ($i=0;$i<count($PHP_code[0]);$i++)
echo '<br>'.$i.':'.$PHP_code[0][$i];
?>
make cheques payable to.....