码云 前端开发 JavaScript RegExp search() 方法 定义和用法 search() 方法用于检索字符串中指定的子字符串,或检索与正则表达式... JavaScript JS参考手册 RegExp search()