<html>
<body>
<h1>JavaScript 正则表达式</h1>
<p>检索其后有 " all" 的 "is":</p>
<p id="demo"></p>
<script>
let text = "Is this all there is";
let pattern = /is(?= all)/;
let result = text.match(pattern);
document.getElementById("demo").innerHTML = result;
</script>
</body>
</html>