示例#1
0
    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);
    }