🦖 Tyrannosaurus Regex

Syntax Basics Island

Level 4: Daisuke

4 of 13

Character Classes: match any character from a set

Square brackets define a character class. The pattern /[aeiou]/ matches any single English vowel.

Daisuke watches lots of game shows and likes words with the letters r, s, t, l, n, e.

/ /

✅ Should Match (0 / 4)

theropods
diplodocus
noon
egg

❌ Should not Match (0 / 4)

chum
ovoid
gap
mummify