SOURCE
JavaScript
Result
let str = 'aaabbb111sssaaa aaabbb sss222' let reg = RegExp(/c(?=b)/g) console.log(reg.exec(str))
console 命令行工具
X
clear
>
console