Search for many patterns in one pass: a trie of the patterns, failure links that say where to go when the next character does not fit, and output links for patterns hiding inside others.
This interactive visualization needs JavaScript.