How to use it
Enter a pattern, flags, and test text to see matching spans and the match count update in real time.
Test a regular expression and flags against text with live match highlighting.
TOOL GUIDE
Content reviewed · 2026-10-04
Check whether a regular expression matches the intended text, and test the effects of pattern errors or flags.
Enter a pattern, flags, and test text to see matching spans and the match count update in real time.
This uses browser JavaScript regular-expression syntax. Very complex patterns can reduce performance or produce unexpected excessive matches.
Inputs and files are processed in this browser and are not uploaded for the task.
A few tools that fit naturally with this task.
Format JSON with readable indentation and find syntax errors before using the data.
Clean empty or duplicate rows in CSV and TSV, then export JSON.
Save useful URLs by category, add notes and favorites, and find them again quickly.