I like solution 2b) but I think it needs to be tweeked slightly:set nocount ondeclare @tb Table (on_description varchar(200))insert @tb values ('OMP_Seras')insert @tb values ('OMP_OMP_OMP_OMP_uong')insert @tb values ('OMP_OMP_Mike')insert @tb values ('OMP_OMP_OMP_OMP_Angel')Select replace( replace( replace( replace(on_description, 'OMP_OMP_OMP_OMP_', 'KLM_'), 'OMP_OMP_OMP_', 'KLM_'), 'OMP_OMP_', 'KLM_'), 'OMP_', 'KLM_') as on_descriptionFrom @tb--Select Replace(Replace(Replace(on_description, 'OMP_', ''), 'OMP_', ''), 'OMP_', '') from @tbBe One with the OptimizerTG