How to use
- Type your regular expression in the pattern field.
- Toggle flags such as g (global), i (ignore case), and m (multiline).
- Paste the text to test against in the input area.
- 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.