Some regular expressions are easy to read in plain text. Others stop being readable the moment you add nested groups, alternation, and

Setup
Enter regex and sample input to generate diagram

Regex Input

Match summary will appear here.
Engine compatibility warnings appear here.
Result
Interactive diagram and token-level hints

Regular Expression Diagram

    Hover any diagram token to inspect meaning and sync with the regex input.
    Legend: () Group * + ? {n} Quantifier | Alternation
    Token Breakdown
    Token breakdown will appear after parsing.
    Test Walkthrough
    Match walkthrough will appear after test execution.

    Commenting your code is like cleaning your bathroom you never want to do it, but it really does create a more pleasant experience for you and your guests.

    Ryan Campbell

    CodersTool Categories