Developer & Tech

Regular Expression Tester

Test patterns, flags and matches against sample text as you type.

Regex tester

See every match while you tune a pattern

0 matches
Common questions

Good to know

Which regex flavor is supported?+

The tester uses the JavaScript regular expression engine available in your browser.

Why does a pattern work elsewhere but fail here?+

Regex syntax and supported features differ between JavaScript, PCRE, Python, Java and other engines.

Privacy and quick tips +

This tool runs in your browser. Your input is not stored or sent to us.

  • Start with the smallest pattern that works.
  • Test multiline and Unicode input explicitly.
  • Do not use a client-side regex as your only security control.