DevelopersFree with an account

Regex

A pattern, a sample, and the matches.

Works on your phone and your computer. Nothing to install.

Regex on a phone

See it in action

Regex on a computer, with example data

What you can do

  • A JavaScript pattern and flags
  • Matches marked in the sample
  • The error if the pattern is bad

How it works

  1. 1Type the pattern without slashes.
  2. 2Add flags such as g or i.
  3. 3Paste a sample and read the matches.

Ready to try Regex?

It's free with a Midnry account. Sign up with your email or Google, no card needed.

More for developers