MediaWiki:Gadget-RegexMenuFramework

Add user-defined regular expression-based tools to the sidebar when editing. By default, it adds a form to create one-use regexes; you can write your own functions. (documentation)