I have a problem with a regex I am using for gsub. The part of my program that is problematic loads two text files: one that it will work on, and another one as an array of abbreviations. The thing is that I want to delete any I have a problem with a regex I am using for gs