Home/Regex Tester

Regex Tester

Write your regex and see matches on the test text instantly.

How to use the Regex Tester

  1. Enter your regular expression (regex) and flags (g, i, m).
  2. Paste the test text; matches are highlighted instantly.
  3. Inspect the matched groups and fix your expression.

Frequently Asked Questions

Which regex syntax is used?

The browser's JavaScript (ECMAScript) regex engine. It's largely compatible with PHP/PCRE and Python, though some advanced features may behave differently.

How do I match accented characters?

\w only covers ASCII letters. For accented letters use a set like [a-zA-ZçğıöşüÇĞİÖŞÜéè] or \p{L} with the u flag.

Is my text sent to a server?

No. Everything happens in your browser; the text or code you paste is never sent to any server.