Regex Tester
Test and explore regular expressions.
Runs in your browserRelated
About
Regex Tester runs a pattern against test text in real time, highlighting every match with its capture groups — named and numbered — broken out separately, and includes a token-by-token plain-English explanation of what the pattern does. It also supports find-and-replace using the pattern. Matching runs in your browser as you type; no pattern or test string is sent anywhere.
Frequently asked
- Does it explain what a regex pattern actually does?
- Yes, there's a token-by-token breakdown that describes each part of the pattern in plain English, useful for understanding a regex someone else wrote.
- Can I see named capture groups separately from numbered ones?
- Yes, both named and numbered capture groups are broken out individually for every match, not just the full match text.