^Start of string/line$End of string/line\bWord boundary\BNon-word boundary.Any char (except newline)\dDigit [0-9]\DNon-digit\wWord char [a-zA-Z0-9_]\WNon-word char\sWhitespace\SNon-whitespace[abc]Character set[^abc]Negated set[a-z]Range*0 or more (greedy)+1 or more (greedy)?0 or 1 (optional){n}Exactly n{n,}n or more{n,m}Between n and m*?Lazy 0 or more+?Lazy 1 or more(abc)Capture group(?:abc)Non-capture group(?<name>abc)Named group\1Back-reference to group 1(?=abc)Positive lookahead(?!abc)Negative lookahead(?<=abc)Positive lookbehind(?<!abc)Negative lookbehind$1Group 1$<name>Named group$&Whole match$`Before match$'After match$$Literal $Emailuser@domain.comURLhttps://example.comIPv4192.168.1.1Hex color#fff or #ffffffDateYYYY-MM-DDPhone US(555) 123-4567Regular expressions are one of the most powerful tools in a developer's toolkit — and one of the most error-prone to write without visual feedback. A single misplaced character can change a pattern from "match any email address" to "match nothing" or "match everything." Real-time visual highlighting makes the effect of every character change immediately visible, transforming regex debugging from guesswork into observation.
The included example patterns (email, URL, IPv4, hex color, date, phone number) serve as both working templates and learning references. The regex cheat sheet with clickable examples lets you build complex patterns by assembling known-good components rather than writing from scratch. Capture groups panel shows exactly what each group captures, essential for replacement patterns.