Tools

Regex Tester

Live matching · Capture groups · Replacement preview

Tips

  • Supports all JS regex flags (g, i, m, s, u, y)
  • Click a template to load its pattern and sample text instantly
  • Replacement supports $1, $2 backreferences and $& for the full match
  • Live matching uses a 200ms debounce — no need to trigger manually

Common Patterns

Flag Reference

gGlobal: find all matches
iIgnore case
mMultiline: ^ and $ match each line
sDot matches newline
uEnable Unicode
ySticky: match starting at lastIndex

© 2026 Free Online Tools

Powered by Vue 3 · Nuxt · Arco Design