Tool Hub

RegEx Tester

Test regular expressions in real time with capture group highlighting

Flags

Matches

2 matches

#MatchGroup 1Group 2
1[email protected]helloexample.com
2[email protected]worldtest.org

How to use

  1. Type your regular expression in the pattern field.
  2. Toggle flags such as g (global), i (ignore case), and m (multiline).
  3. Paste the text to test against in the input area.
  4. Matches are highlighted live, and capture groups are listed for each match.

Examples

  • The pattern \b\d{4}-\d{2}-\d{2}\b matches dates like 2026-05-26 inside a longer text.
  • Using the pattern (\w+)@(\w+) highlights each capture group so you can see what group 1 and group 2 captured.

Verify outputs before using in production. No warranty — see Terms.