Delete all opening [caption] tags

Vim:
:arg *.html
:argdo :%s/\[caption .\+"\]//g | update
Get rid of [/caption]

Vim:
:argdo :%s/\[\/caption\]//g | update
Get rid of all unneeded post metadata

Vim:
:%s/categories:\_.\+---/---/g