fsed (pypi): Aho-Corasick string replacement utility
Keywords: string|search|replace|rewrite|aho-corasick|python|python-2|python-3|replace-text|rewrite-system|string-matching|text-search