Board Thread:Support Requests - Community Management/@comment-4570441-20140202205403/@comment-1142365-20140222044750

If I may suggest an improvement to your script, you could probably construct one large regular expression and match that against the text posted by the user. At the moment you're constructing $$3 \times b.length$$ regular expressions and performing an equal amount of matches - this is bound to hinder performance when lots of words are used in the array.