Regex Tester — Test Regular Expressions Online Free
Test and debug regular expressions in real time. Enter your pattern and test string to see matches highlighted instantly. Supports JavaScript regex flags. Free, runs in browser.
0ms
Active: ig
0 matches
Extractor0 groups
No extracted results yet.
Group 0 = full match · 1+ = capture groups
Replace preview
Type a replacement to preview results.
$& = whole match · $1+ = capture groups
Matches & groups
| # | Index | Match | Captures | Named groups |
|---|---|---|---|---|
| No matches yet. | ||||
Flag reference
iCase-insensitive matchinggFind all matches, not just the firstmMake ^ and $ match start/end of each linesLet . match newline characters (dotAll)uFull Unicode supportySticky — match only at lastIndex positionNotes
- —Runs entirely in your browser — no data is sent to a server.
- —Use the g flag to find all matches; without it only the first match is returned.
- —Named groups use the syntax (?<name>…) and appear in the Named groups column.
- —The Export CSV button downloads all matches with captures as a spreadsheet-ready file.