Tool

Regex Tester

Try a JavaScript regular expression against sample text in your browser. This is not PHP’s PCRE engine.

Limitations. JavaScript RegExp is not identical to PHP preg_match. Delimiters are not used. A worker stops the attempt if it runs too long, but a pattern can still be dangerous in other engines. Do not paste secrets.

How to use it

Enter a pattern, optional flags (g, i, m, s, u, y), and the text to test. Matches are shown with their index.

Get new briefs by email

Short alerts when a PHP or WordPress vulnerability needs action.

Double opt-in via Buttondown; unsubscribe any time. See our privacy policy.