使用 gulp 从文件中删除某些字符串

Remove certain strings from file with gulp

有没有一种方法可以使用 gulp 搜索和删除文件中包含的任意字符串?

是的,可以使用 gulp-replace,非常易于使用