Re: ampersand

  •  03-27-2005, 1:13 AM

    Re: ampersand

    Use this:

    string text = Regex.Replace(Editor.Text, @"(?<=href\s*=\s*(?<1>'|"")\S+)&amp;(?=\S*\1)", "&", RegexOptions.IgnoreCase);
View Complete Thread