In short: Regex Tester highlights every match of a regular expression in your test text live and lists full matches and capture groups.
Processed locally in your browser
Your files and text are handled entirely on your device using your browser. They are never uploaded to our servers.
Patterns and text are processed locally in your browser and never uploaded.
How to use Regex Tester
3 quick steps. Most people are done in under a minute.
- 1
Type your regular expression.
- 2
Paste test text to match against.
- 3
See highlighted matches and capture groups instantly.
Regex Tester features
- Live match highlighting
- Capture groups listed for each match
- Toggle global, ignore-case and multiline flags
- Uses JavaScript regex syntax
When to use Regex Tester
- Build and debug validation patterns for emails or phone numbers
- Extract data from logs and text files
- Learn regular expressions interactively
About this tool
Write a regular expression, type some test text and see every match highlighted live, with the full match and capture groups listed. Great for building and debugging patterns.
Regex Tester FAQ
How do I test a regular expression?
Type your pattern, toggle the g, i or m flags and paste test text. Matches are highlighted instantly and capture groups are listed below.
Which regex flavor does this use?
It uses JavaScript (ECMAScript) regular expressions, which are compatible with most patterns used in web development.
Is Regex Tester free to use?
Yes, Regex Tester is 100% free with no sign-up, no watermark and no daily limits. FaaTools is supported by unobtrusive ads, which keeps every tool free for everyone.