Add a 'regex editor' sidebar link which lets you write, apply, and save regex patterns (documentation).