Understand your regular expression with explanations of its tokens, groups, quantifiers, and flags.
Visualize your pattern with interactive regex railroad diagrams. Follow branches and repetitions, select a part to read its explanation, and save diagrams as SVG or PNG.
Refine regexes faster with . Turn examples into patterns, fix mismatches, and build tests to check your changes.
Supports: PCRE2 (PHP), JavaScript, Python, Golang, Java, .NET 10.0 (C#), Rust, POSIX ERE, POSIX BRE (grep/sed), PCRE (Legacy)