Snippets for common tasks to do with regex.