Example input:
hjkhwe5boijdfg
I need to split this into 3 variables as below:
- hjkhwe5 (any length, always ends in some number (can be any number))
- b (always a single letter, can be any letter)
- oijdfg (everything remaining at the end, numbers or letters in any combination)
I've got the PHP preg_match all setup but have no idea how to do this complex regex. Could someone give me a hand?