Regexp replace 当ocuurance是一个使用正则表达式时,如何找到任何特殊字符的所有出现

Regexp replace 当ocuurance是一个使用正则表达式时,如何找到任何特殊字符的所有出现,regexp-replace,Regexp Replace,例如,从下面的几行中,我想匹配所有的/“。计数应该是2,它不应该匹配/” I am ///"very foodie. I /"love to /"eat and cook

例如,从下面的几行中,我想匹配所有的
/“
。计数应该是2,它不应该匹配
/”

I am ///"very foodie. I /"love to /"eat and cook