Easy Tutorial
❮ Prop Win Name Prop Checkbox Name ❯

JavaScript RegExp [^abc] Expression


Definition and Usage

The [^abc] expression is used to find any character that is not between the brackets.

The characters inside the brackets can be any character or range of characters.

Syntax


Browser Support

All major browsers support the [^abc] expression.


Example

Example

Perform a global search for characters that are not within the range [a-h]:

The text marked below shows where the expression matches: Is thisall thereis?


❮ Prop Win Name Prop Checkbox Name ❯