Skip to content

Regex Tester

Test JavaScript regular expressions with live match highlighting.

Flags: g global · i ignore case · m multiline · s dot matches newline · u unicode
Matches

How to use the Regex Tester

  1. Paste your input
  2. The result updates as you type
  3. Copy or download the output

About the Regex Tester

Write and debug regular expressions with live highlighting, capture group details and a replace preview.

Instant resultsEverything updates live as you type. No buttons to wait on.
PrivateYour input never leaves your browser and is never stored.
Free foreverNo signup, no limits and no paywall.
Works offlineInstall the site as an app and use it anywhere.

Regex Tester FAQ

Is the Regex Tester free?

Yes, it is 100% free with no signup, no watermarks and no usage limits.

Is my data private?

Yes. Everything is calculated in your browser. Nothing you type is sent to or stored on a server.

Does it work on phones and tablets?

Yes. The tool works in any modern browser on Android, iPhone, iPad, Windows, Mac and Linux.