← Back to Tools
Regex Tester & Visualizer
Test and evaluate JavaScript regular expressions in real-time with capture group extraction.
Regular Expression
//g
Common Presets
Test String80 characters
Match Results
2 matches foundRange: [14 – 38] (24 chars)
Range: [42 – 68] (26 chars)
Quick Syntax Cheat Sheet
\d / \DDigit (0-9) / Non-digit\w / \WWord char (a-z, 0-9, _) / Non-word\s / \SWhitespace / Non-whitespace^ / $Start / End of string (or line)\b / \BWord boundary / Non-boundary* / + / ?0 or more / 1 or more / Optional{n,m}Between n and m occurrences[abc] / [^abc]Character set / Negated set(?:...) / (?<name>...)Non-capturing / Named group