Hi
I've been trying to figure this out half the afternoon!! It's my first attempt at using preg_match and regular expressions and I am really struggling. I could do it using other methods based on a number of if's and strpos, etc but I know this is not the best way.
I have a short string, for example D34V78. I would like to split this into four elements, with the result an array of D, 34, V and 78
The D (first character) is always D.
It is then always followed by a number of unknown length
Then a V, A or E
then another number of unknown length
Further examples.... D1V3 or D98E62
Can some kind person help me by suggesting the regular expression -- my little brain is in melt down with it. :-\