🎉 New features launched: Gomoku has been updated with online multiplayer, undo, and resign, plus local PvP and AI modes.🎉 New features launched: Chinese Chess has been updated with AI, local PvP, and online multiplayer.🎉 New features launched: Chinese Checkers has been updated with 2-6 player online rooms, AI, and local PvP.🎉 New features launched: Career Simulator has been updated with improved career progression and endings.🎉 Russian is now available. Switch to Русский to explore the site.🎉 Picture Puzzle is here! Choose an image and difficulty, or share a challenge with friends.🎉 New features launched: Gomoku has been updated with online multiplayer, undo, and resign, plus local PvP and AI modes.🎉 New features launched: Chinese Chess has been updated with AI, local PvP, and online multiplayer.🎉 New features launched: Chinese Checkers has been updated with 2-6 player online rooms, AI, and local PvP.🎉 New features launched: Career Simulator has been updated with improved career progression and endings.🎉 Russian is now available. Switch to Русский to explore the site.🎉 Picture Puzzle is here! Choose an image and difficulty, or share a challenge with friends.
More 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