Free • No signup • Fast
Regex Tester
Enter a JavaScript-compatible regular expression pattern.
Flags
Paste or type the text you want to test against the regular expression.
Highlighted preview
Matched text is highlighted so you can immediately see what the regex extracts.
Regex result
No matches
0
Active flags: g
| # | Match | Position | Groups |
|---|
Related tools
- JSON Formatter Format, validate and beautify JSON directly in your browser.
- ISO8601 Validator Validate ISO8601 dates and timestamps with detailed feedback.
- JWT Decoder Decode and inspect JWT tokens locally in your browser.
How it works
Test regular expressions online with live matches, flags, groups and detailed match positions.
Practical examples
FAQ
What is a regex tester?
A regex tester lets you test regular expressions against sample text and inspect matches, groups and positions in real time.
Which regex engine does this tool use?
This tool uses the JavaScript RegExp engine built into your browser. Some advanced features may behave differently compared with PCRE, Python or .NET regex engines.
What do regex flags mean?
Flags modify how the regular expression works. For example, thei flag enables case-insensitive matching, whileg enables global matching.
Does this regex tester support named groups?
Yes. Named capture groups supported by JavaScript regular expressions are displayed in the match details section.
Does this tool send my text anywhere?
No. Regex matching runs locally in your browser. Text and patterns are not sent to an external server.
Try these tools
JSON Formatter
Format, validate, minify and copy JSON directly in your browser.
ISO8601 Validator
Validate ISO8601 dates and datetimes, inspect timezone offsets and convert to UTC and Unix timestamps.
UUID Generator
Generate UUID v4 identifiers for APIs, databases, tests and software development.
GPS Coordinate Converter
Convert GPS coordinates, generate GeoJSON and build paths from multiple points.