^) after the opening bracket and before the characters you do not want to match.
For example, /[^aeiou]/gi matches all characters that are not a vowel. Note that characters like ., !, [, @, / and white space are matched - the negated vowel character set only excludes the vowel characters.
myRegex should match 9 items.
testString: assert(result.length == 9);
- text: Your regex myRegex should use the global flag.
testString: assert(myRegex.flags.match(/g/).length == 1);
- text: Your regex myRegex should use the case insensitive flag.
testString: assert(myRegex.flags.match(/i/).length == 1);
```