Regex Tester
Test regular expressions with live match highlighting and capture group table.
Why use this tool
01Build and test regex patterns with flags, highlighted matches, and capture group inspection.
Regex Tester highlights all matches in real time as you type your pattern.
Capture groups appear in a table below, and preset patterns let you start quickly.
How to use
02Quick checks before you copy
03Confirm the input is the format you intended.
Scan the result before using it in a document, URL, config, or message.
Copy only the output you need.
Tips & Tricks
- 01Validate before copying
If the input parser reports an error, fix the source value first instead of copying a partial result into code, config, or documentation.
- 02Keep secrets local
The tool runs in your browser, but you should still avoid pasting long-lived production secrets into any shared or screen-recorded session.
FAQ
04What flags are supported?
g (global), i (case-insensitive), m (multiline), and s (dotAll).
How many matches does it find?
Up to 500 matches per test to keep the UI responsive.
Does it show named capture groups?
It shows numbered capture groups. Named groups are shown by their position.
Related tools
03Find and Replace Text Online→
Replace every match in pasted text — case-sensitive toggle, instant match count, nothing leaves your browser.
Text Diff Checker — Line, Word & Character→
Compare two text blocks and see additions, deletions, and changes — switchable between line, word, and character granularity.
CRON Parser→
Parse CRON expressions, describe them in plain language, and preview the next 10 runs.