🦖 Tyrannosaurus Regex
Syntax Basics Island
Level 11: Kenji
11 of 13
Plus: match one or more of the preceding element
The plus (+) is a shorthand for {1,} and matches one or more of the preceding element. The pattern /8+/ matches one or more occurrences of the letter '8', and /[aeiou]+/ matches 1 or more vowels in a row.
Kenji likes all food, and he's pretty literal about it.
/ /
✅ Should Match (0 / 4)
food
foood
foooood
foooooooooood
❌ Should not Match (0 / 4)
fed
wood
fiefdom
foot