Regex Tester
Test a JavaScript regular expression on text and inspect every match, group and position.
Paste text or open a fileOr start from an example:
JavaScript regex runs locally. Slow expressions are stopped after one second.
Matches
The result appears here.
Ctrl+↵ copy result · Ctrl+Shift+F result to input
How to use Regex Tester
- Paste sample text.
- Enter a regular expression and choose its flags.
- Review matches and groups, then copy the match list.
Frequently asked questionsUseful details
2 answers +
Which regex syntax is supported?
Your browser's JavaScript regular expressions.
What happens with a slow pattern?
Testing runs in a separate browser worker and stops after one second. Shorten the text or simplify the pattern if that happens.
More help
Guides, common conversions and useful next steps.
Continue with your result
Use the action beside a finished result to send it directly, or open another tool:
- Word Counter
- Case Converter
- Compare Text
- Remove Duplicate Lines
- JSON Formatter
- JSON to CSV
- CSV to JSON
- JSON to YAML
- YAML to JSON
- JSONPath Query
- JWT Inspector
- URL Inspector
- Base64 Encoder
- URL Encoder
- HTML Escaper
- Hash Generator
- Timestamp Converter
- JSON Lines Converter
- Slug Generator
- Unicode Inspector
- Color Converter
- Aspect Ratio Calculator
- UUID Generator
- Password Generator