Supposed I have the following string:
string str = \"text\";
And I would like to change \'tag\' to \'newTag\' so the
var input = "text"; var result = Regex.Replace(input, "(?).*?(>)", "$1newtag$2");