Supposed I have the following string:
string str = \"text\";
And I would like to change \'tag\' to \'newTag\' so the
Why use regex when you can do:
string newstr = str.Replace("tag", "newtag");
or
string newstr = str.Replace("","").Replace("","");
Edited to @RaYell's comment