Developer Lab

JavaScript regular expression syntax; up to 256 characters.

Flags

32,000 characters maximum. Evaluation stops after 800 ms; at most 200 matches are displayed.

Enter a pattern and select Test pattern.

Matches

    About this tester

    Matching is performed inside a temporary browser worker, which is terminated after the time limit. This limits how long a complex expression can block the tester. Results are rendered as text, never as HTML.

    Pattern behavior follows your browser's JavaScript engine. This tool is for testing patterns, not for processing untrusted expressions on a production server.