← Free tools

Regex tester

Test a JavaScript regular expression against sample text.

Runs entirely in your browser. Nothing you paste here is sent to us or to anyone else.

Matches (0)

    Flags

    gFind all matches, not just the first
    iCase insensitive
    m^ and $ match line starts and ends
    s. also matches newlines
    uUnicode mode

    This uses the JavaScript engine in your browser. PCRE, Go and Python differ in details such as lookbehind and named group syntax, so a pattern that works here is not guaranteed to work there.