← utilities

Regex Tester

Pattern, flags and a test string. Live JavaScript matches in this tab.

Flags

Highlight

            
0 matches

    100% Client-Side Processing

    What Regex Tester is

    A JavaScript regular expression and a test string, with live highlight, a match list, and flags. The flavour is this browser’s RegExp, not PCRE or Python.

    How to use it

    1. Paste the pattern and the test text.
    2. Set flags if you need them.
    3. Read the highlights and the match list.

    Common uses

    Check a form pattern, a search replace, or a log scrape before you put it in code. A pattern that works here can still fail in another language.

    Privacy

    Numbers and text stay in this tab. We do not log them. Refresh the page and the form is blank. We never see what you copy.