<html>
<body>
<h1>JavaScript Regular Expression</h1>
<h2>The {} Quantifier</h2>
<p>A global search for a sequence of at least three digits:</p>
<p id="demo"></p>
<script>
let text = "100, 1000 or 10000?";
let pattern = /\d{3,}/g;
let result = text.match(pattern);
document.getElementById("demo").innerHTML = result;
</script>
</body>
</html>