Regex tester
Write a regular expression and instantly see what it matches, with captured groups.
2 match(es)
Contact : anna@example.com, leo@vipelite.com Support: help@site.org
Groups
| 1 | anna@example.com | $1: anna | $2: example |
| 2 | leo@vipelite.com | $1: leo | $2: vipelite |
Cheat sheet
- \d
- a digit
- \w
- letter, digit or _
- \s
- a space
- .
- any character
- * + ?
- 0+, 1+, 0 or 1 times
- {2,4}
- 2 to 4 times
- [abc]
- a, b or c
- ^ $
- start / end
- ( )
- captured group
- a|b
- a or b
đź”’ Everything happens in your browser: nothing is sent to our servers.
Frequently asked questions
- Which syntax is used?
- JavaScript’s (browsers and Node.js), with the g, i, m, s and u flags.
- Is my text sent anywhere?
- No, everything is tested in your browser.
Get our best tips
Checklists, budget, ideas and tips to plan your celebration, straight to your inbox. Unsubscribe in one click.
Ready for a real online invitation?
Create an elegant page with online RSVPs, venues and guest photos. 48-hour free trial.
48-hour free trial · No credit card · No app