Skip to main content
SwiftTools

Regex Tester

Free regex tester. Test regular expressions against text and see every match and capture group highlighted.

Flags

Regular expressions run entirely in your browser using the native RegExp engine. Nothing is uploaded.

About Regex Tester

Build and test regular expressions against your text with live matches, capture groups and flags. It runs entirely locally using the browser native RegExp.

How to use it

  1. 1Enter your pattern.
  2. 2Paste the text to test.
  3. 3Read the matches and groups.

Examples

Emails

Result
2 matches · group1 = emails

Frequently asked questions

Does this support PCRE syntax?

It uses the browser native JavaScript RegExp, so it supports PCRE-like features including lookaround and named groups.