Regex Tester
Build a JavaScript regular expression and see live matches, capture groups, and replacements against your sample text.
//gi
2 matches found
Ping [email protected] or [email protected] for help.
We reply within 24 hours.
Match details
- [email protected]index 5 · length 19
- [email protected]index 28 · length 19
How to build and test a regular expression with MakeMyTxt
Write a JavaScript regular expression, pick the flags you need, and see every match, capture group, and optional replacement live.
Open the Regex Tester
Edit the pattern
Toggle flags and test your sample
Review match details or try a replacement
Frequently asked questions
- What regex flavor does this tool use?
- Can I use named capture groups and lookbehind?
- Why does my pattern match infinitely?
- Is my sample text sent to a server?