Developer tools
Regex tester tool
Pattern, flags, and a subject string. Matches list with indexes; highlights in the HTML pane.
Processed in your browser — nothing is uploaded
Pick a font style
Ready for Antakshari?
Ready?
Now sing a song containing or starting with this word!
Words generated: 0
Strength
Uses the JS RegExp engine in your browser. Invalid patterns error without wiping the subject.
Last reviewed 2026-09-10.
FAQ
Questions, answered
Which flavor?
JavaScript. Lookbehinds work in modern browsers.
Replacement?
Use Find and replace with regex enabled to rewrite.
Does my text leave the browser?
No. The regex tester runs in JavaScript on this page. Your paste is not uploaded.
Related
Keep going
Developer tools
Diff checker
Compare two texts online. Side-by-side or unified diffs for lines, words, or characters — in your browser, nothing uploaded.
Text cleanup
Find & replace
Find and replace text or regular expressions with a live match count.
Developer tools
JavaScript formatter
Brace-indent JavaScript, or minify whitespace and comments.