Make the 'tag_name' lowercase only once
Don't create '$tag' variable because it's not used
Quote the "noise word" in regexp so that it could contain slashes, periods, etc.
Use a sub-millisecond-faster way to count the number of occurrences of each of the "noise words" in the line