🧠 Regex Tester
Test JavaScript-compatible regular expressions. Live matches, groups, and error hints. Runs in your browser.
Pattern & Flags
Test Text
Highlighted Matches
Match Details
What is Regex?
Regular expressions (regex) are patterns used to match strings. Developers use regex for validation, search, and text processing.
How to use this regex tester
- Enter a regex pattern and optional flags (g, i, m, s, u, y).
- Paste test text and see live highlighted matches.
- Inspect capture groups and match details in JSON view.