Lesson 1 of 390% Complete
Literal Characters
Match exact characters in text
Key Concept
The simplest regex patterns match literal characters exactly as they appear. For example,
cat matches the exact sequence 'cat' in text.Test Cases
Your regex should match the green cases and NOT match the gray cases.
Should Match (3)
cat✓
The cat sat✓
category✓
Should NOT Match (2)
dog✗
CAT✗
