Replace a string but keep formatting

I’m using following code to replace a string in the word document but I loose the formatting :
run.Text = run.GetText().Replace(Markup.TAG_DATA + field.DataName, "");

How can I remove a string and keep formatting ?

Thanks

@DomZ Please use Range.Replace method.

run.Range.Replace(Markup.TAG_DATA + field.DataName, "");