Regex Tester
ababab
About
Test whether a regex compiles and find matches in your text. For structural understanding, pair with the RegExp Visualizer.
Supports JavaScript flags i/m/g. Matches update in real time as you type. For payloads encoded in URLs or Base64, decode via the URL Encoder/Decoder or Base64 Encoder/Decoder.
Highlights matches inline and shows groups with positions. Provides convenient copy actions.
FAQ
Why do I see no matches?
Check anchors (^/$), flags (g/m/i) and escaping. Remove ^/$ or enable multiline to match across lines.
Are named groups supported?
Yes. When the browser supports named groups, they appear under Match Information.
How are positions shown?
If RegExp.indices is supported, start–end spans are displayed; otherwise positions are hidden.