// var str = "院长审批意见(接待前):110" // let result = str.search('院长审批意见(接待前)') // console.log(result) // let result1 = str.search('院长') // console.log(result1) var kk = "你好(adbd)" console.log(kk.search('你好\\(')) // 非正则要求下,改为使用includes console.log(kk.includes("("))