流星

中正则表达式的使用

使用方法:
定义正则表达式的规则。

var patt= new RegExp("e")3
var patt=/e/

上面两个功能相同

请输入图片描述

更多请了解 菜鸟教程