Regex tester

Highlights regular expression matches, shows groups and the replace result.

Test string

2 matches

Write to hello@kitdesk.app or support@example.com. Phone: +380 44 123 45 67, order #2048 of 2026-11-04.

Matches and groups

  1. hello@kitdesk.app index 9
  2. support@example.com. index 30

Replace

Write to <hello@kitdesk.app> or <support@example.com.> Phone: +380 44 123 45 67, order #2048 of 2026-11-04.

Cheat sheet

  • \ddigit
  • \wletter, digit or _
  • \sspace, tab, newline
  • .any character
  • [abc]one of these
  • [^abc]anything but these
  • ^ / $start / end of line
  • a* a+ a?0+, 1+, 0 or 1 times
  • a{2,5}2 to 5 times
  • (…)group
  • (?<name>…)named group
  • a|ba or b
  • \bword boundary
  • (?=…)followed by …
  • \p{L}any letter (with u)