PublicScriptsPublicScripts
PublicScripts
Free IT Tools & Code Snippets

Regex Tester with AI Explanation

Test regular expressions with live matching, highlighting, and AI-powered explanations.

//
Flags: g (global), i (case-insensitive), m (multiline)

Matches Found: 0

Quick Reference:

Character Classes:

  • \d - Digit [0-9]
  • \w - Word character
  • \s - Whitespace
  • . - Any character

Quantifiers:

  • * - 0 or more
  • + - 1 or more
  • ? - 0 or 1
  • {n,m} - Between n and m

Anchors:

  • ^ - Start of string
  • $ - End of string
  • \b - Word boundary
  • (...) - Capture group