Results 1 to 5 of 5
May 15, 2009, 10:12 #1
- Join Date
- Nov 2004
- 1 Post(s)
- 0 Thread(s)
Find first character in a string of a certain type
I'm going to go out on a limb and say that I need to use regex but could do with a bit of help here. I need to pass a string to a script which would be of this kind of format:
The number of letters can vary, as can the number of, erm, numbers. It's also possible to have a single letter on the end, but I can deal with that easily enough.
I basically need to split (explode?) the two sections, using the character type as a separator. Can anyone tell me how? A quick look through the PHP string functions didn't provide me with the answer.