Regex Tester

Live JavaScript regular expressions

Flags

Results

    Cheat sheet

    Tap an item to add it to the pattern. Flags switch on or off.

    Example library

    Each example loads a pattern with lines that should and should not match.