🦖 Tyrannosaurus Regex

Syntax Basics Island

Level 12: Laila

12 of 13

Anchor: match the start or end of a string

The caret ^ matches the start of a string, while the dollar sign $ matches the end. The pattern /^A/ matches any string that starts with the letter 'A', and [aeiou]+$/ matches any string that ends with a vowel.

Laila likes to eat crunchy veggies at the start and yummy desserts at the end.

/ /

✅ Should Match (0 / 4)

choose
canine
chime
capitalize

❌ Should not Match (0 / 4)

chef
chosen
recalibrate
ceded