In Emacs - how do I kill buffers matching regexp?
Edit:
How do I answer y automatically (kill-matching-buffers ask
y
kill-matching-buffers
M-x kill-matching-buffers
This will prompt for a regex, check the documentation for details.