emacs goodie: kill buffers by regex

related: emacs

Kill buffers using regex (prompts for each matching buffer):

M-x kill-matching-buffers

Regex example: kill *.py:

[^.]+.py