kill-matching-buffers

kill-matching-buffers is an interactive compiled Lisp function in `files.el'.


(kill-matching-buffers REGEXP &optional INTERNAL-TOO)

Kill buffers whose name matches the specified REGEXP.
The optional second argument indicates whether to kill internal buffers too.