string RepalceData(string text) { var tempText = text; string check = TextReplacer.CheckReplace(tempText); while (!string.IsNullOrEmpty(check)) { var replace = TextReplacer.GetReplaceContent(check); tempText = TextReplacer.ReplaceText(tempText, replace); check = TextReplacer.CheckReplace(tempText); } return(tempText); }