Regex Tester
Test a regular expression against sample text and see matches highlighted live. Uses JavaScript's regex engine.
Ad placeholder — replace with your AdSense unit once approved
Common flags
| Flag | Meaning |
|---|---|
g | Global — find all matches, not just the first |
i | Case-insensitive |
m | Multiline — ^ and $ match line boundaries |
s | Dot matches newline characters too |
Need a syntax refresher? See the regex cheat sheet.