One way is to use split_part()
to split string based on :
and then concat them again.Or second way is to use substring with regexp_instr() like below-
select split_part('ss pullover jaq:rwbwht:40',':',1) ||':' || split_part('ss pullover jaq:rwbwht:40',':',2) option1, substring('ss pullover jaq:rwbwht:40',1,regexp_instr('ss pullover jaq:rwbwht:40',':',1,2)-1) option2