github-next-tsx-template

Regex Editor

Enter a pattern, pick flags, test, visualize and replace in real-time. Share encoded URLs, manage presets, and import/export JSON.

Templates
Supports $1, $2… and $<name> for named groups. Use $$ for a literal $.
Cheatsheet
Tokens
  • \d \w \s, \D \W \S
  • ^ $ \b \B
  • ( ) (?: ) (?<name> )
  • [abc] [^abc] [a-z]
  • .+? *? ?? lazy
  • (?= ) (?! ) (?<= ) (?<! )
Quantifiers
  • * + ?
  • {n}, {n,}, {m,n}
  • | alternation
  • Flags: g i m s u y d
0 matches · 0.00 ms
Previews
14px
Highlights
0/0
Contact: john.doe@example.com, fake@mail, admin@sub.domain.org
Replaced text
Results
#SpanMatchGroups
No match