在Visual Studio Code这个软件里面,有一个插件叫vscode-regex,这个插件包含了很多常用的正则表达式。 第一步: 点击查看,找到扩展 第二步: 在搜索框中输入vscode-regex