Ok I tested this and it will work based on counting the number of spaces. This will handle up to 2 spaces. If you want more simply add some more WHEN conditions; maybe not the prettiest but it will definitely work.
select
case when length(replace(RAW_ADDR,' ','**'))-length(RAW_ADDR) = 3
then
left(substr_AFTER(substr_AFTER(substr_AFTER(RAW_ADDR,' '),' '),' '),2)
when length(replace(RAW_ADDR,' ','**'))-length(RAW_ADDR) = 2
then
left(substr_AFTER(substr_AFTER(RAW_ADDR,' '),' '),2)
ELSE
RAW_ADDR END as MyNewString
from
FROM "BODS"."TABLE"