Who this helps
- Developers testing text patterns
- Users extracting structured fragments
Developer Utility
Enter a regular expression and test text to check matches, capture groups, and flag behavior in real time. Useful for validating emails, URLs, phone numbers, dates, hashtags, and code patterns.
Enter a regex pattern and test text to view match previews and result lists.
/.../g
Matched strings are highlighted in the preview, and detailed results are shown as JSON.
[]
[]
Click a common pattern to load the regex and sample text immediately.
Inspect matches, indexes and capture groups using the browser's JavaScript RegExp engine. Bounded worker execution helps keep accidental expensive patterns from blocking the page.
Prepare masked text with positive and negative examples.
Enter the pattern body without surrounding slashes.
Choose the JavaScript flags required by the pattern.
Run the test and inspect indexes and capture groups.
Simplify expensive patterns and retest in the actual target runtime.
Matching this shape does not validate a real calendar date.
Unicode mode advances over the complete surrogate pair.
Limits are 500 pattern code units, 20,000 text code units, at most 1,000 matches and a 400ms worker timeout. Flags g, i, m, s, u and y follow JavaScript behavior. Empty matches advance by a code point in Unicode mode.
Patterns and text stay in the browser. Remove private log values before testing or exporting results.
Find indentation errors.
Draft a daily schedule.
Match indexes and lengths use UTF-16 positions, even when u matches whole code points.
Yes. A 1,001st match stops the test rather than returning a silently truncated report.
The pattern exceeded the local execution budget. Review nested repetition and overlapping alternatives.