Regex, CSS & Code Utilities

Regex Tester

Test and debug regular expressions with live match highlighting.

No upload, ever No account needed Works offline
/ /
Test string
0 matches
Matches
Auto-updated
// how to use it

Three steps, no reading required.

Write your pattern

Type your regular expression between the slashes and set flags like g, i, m.

Add test text

Paste the text you want to match against into the test pane.

Read the matches

Matches highlight live and capture groups are listed below — then copy them.

// examples

Try it with a sample.

Emails
/\b[\w.+-]+@[\w-]+\.[\w.-]+\b/g
Contact us at [email protected] or [email protected].
Hex colors
/#(?:[0-9a-fA-F]{3}|[0-9a-fA-F]{6})\b/g
Brand blue is #2563EB, accent green #22C55E, short form #abc.
TYPICAL ONLINE TOOL

Upload & hope

  • Sends your input to a server to process it
  • Asks for an account after a few free uses
  • Limits input size on the free tier
DEVUTILSNOW

Runs where you are

  • Processes everything inside your browser tab
  • No account, ever
  • No artificial size limit
// faq

Questions worth answering upfront.

No. Matching runs entirely in your browser using the native JavaScript regex engine. Nothing you enter is uploaded or stored.

It uses the JavaScript (ECMAScript) regular expression engine, including flags like g, i, m, s and u.

Yes. Matches are highlighted in your test text as you type, and capture groups are listed for inspection.

Yes. Common patterns such as email, URL and date are available to start from and adapt.

Need another tool?

36+ browser-based utilities — all free, all private, nothing to install.

Browse all tools →
Last updated: Aug 3, 2026