<html>
<body>
<p>Click the button to do a a global search for the character-span NOT from uppercase A to uppercase E.</p>
<button onclick="myFunction()">Try it</button>
<p id="demo"></p>
<script>
function myFunction() {
var str = "I SCREAM FOR ICE CREAM!";
var patt1 = /[^A-E]/g;
var result = str.match(patt1);
document.getElementById("demo").innerHTML = result;
}
</script>
</body>
<!-- Mirrored from www.w3schools.com/jsref/tryit.asp?filename=tryjsref_regexp_not_charset4 by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 05 Jun 2019 14:02:39 GMT -->
</html>