You can invert sets by adding a circumflex ^ at the beginning of the set. [^a] matches all except a and [^0-9] all everything else but digits.
The circumflex is located on the key 6.
In this regular expression, you can invert the set by adding a circumflex behind the first bracket.
- Apple
- Banana
- Cherry
- Date
- Elderberry
- Fig
- Grapefruit
- Ginger
- Hops
- Jasmin
- Lemon
Siehst du die markierten Zeichen? Do you see the merked characters? The set [^C-G] is the set [^CDEFG], which includes A and J as well as a, m, c and, d, because they are not between C and G.
Next Step