Regex Tester
FreeWrite a regular expression and see every match highlighted in your test text, along with captured groups.
How to use Regex Tester
- 1Enter a pattern and any flags.
- 2Paste the text to test against.
- 3Review the highlighted matches and groups.
Private by design. This tool runs in your browser. Nothing you enter or add is uploaded.
Frequently asked questions
Which regex flavour is used?
JavaScript (ECMAScript) regular expressions, as implemented by your browser.
Which flags can I use?
g, i, m, s, u and y. The g flag is applied automatically so that all matches are listed.
Related tools
- Free
JSON Formatter
Format, validate and minify JSON with clear error messages.
Developer ToolsOpen - Free
Base64 Encoder / Decoder
Encode text to Base64 or decode it back, with full Unicode support.
Developer ToolsOpen - Free
URL Encoder / Decoder
Percent-encode text for URLs, or decode encoded strings.
Developer ToolsOpen - Free
UUID Generator
Generate random version 4 UUIDs, one or fifty at a time.
Developer ToolsOpen