I have a piece of information in the format
AAANNN
ie: JJH321
or: Z12343
or: KBNH8234
There will always be a variable number of characters followed by an integer number of a variable length.
I want to split the string into 2 parts so that I can process the alphas and the numbers differently.
I think probably the answer is to use ereg() but I can't see how to handle the variable length of each part of the string.
Can anybody help ?
Thanks
Paul