Page 1 of 1

need help creating this function

Posted: Tue Apr 01, 2008 12:33 am
by darken1515
need help creating an array

Re: need help creating this function

Posted: Tue Apr 01, 2008 12:54 am
by Christopher

Code: Select all

$instr='ABc25K3';
preg_match_all('/[a-zA-Z][0-9]/', $instr, $matches);
echo implode('<br/>', $matches[0]);

Re: need help creating this function

Posted: Tue Apr 01, 2008 1:31 am
by darken1515
Thank you