I've got string like this
$str = "cl2"
$str2 = "L1"
What i'm trying to get is the LAST NUMERIC NUMER and whatever is before the numeric number
Result I want is
$result[0] = "cl"
$result[1] = "2"
$result[0] = "L"
$result[1] = "1"
I've been looking at explode() and str_split() php functions to use but cant seem to find a way to only get the last digit, then everything else before it thanks