I need to make a very simple string replace,emt, but only in certain parts of the file. I plan to use gsub, but I can\'t make it work to exclude the rest of the tex
gsub