The [^abc] expression is used to find any character not between the brackets.
The characters inside the brackets can be any characters or span of characters.
The [^abc] expression is supported in all major browsers.
Do a global search for characters not inside the character-span [a-h]:
The marked text below shows where the expression gets a match:
Your message has been sent to W3Schools.