You can delete everything from the buffer with this command:
:%s!<swf.\{-}/swf>!!
if you also have tags that can be split into two lines, you can add a modifier \_to .match newline characters:
:%s!<swf\_.\{-}/swf>!!
assuming you want to remove both the tags and what they contain if you just want to get rid of the tags and save the content
:%s!</\?swf.\{-}>!!
Notes:
- you do not need to run
<or> - , : Vim ,
s substitute:
EDIT:
- , /STRING/REPLACE/g
! /, (. ). g , :set gdefault my .vimrc, ( , Vim , , /g)\{-} - "" *, 0 , - , " " .