Regex Tester

Write a pattern, paste sample text, and watch matches highlight as you type. Capture groups are listed separately so you can confirm a pattern extracts what you expect before it reaches production.

Open Regex Tester

Where to find it

Every address below opens the same tool. The first address is the one to bookmark and share.

People also call this

What it's for: Test regular expressions against sample text with live match highlighting and capture groups. Debug patterns before shipping them. Instant.

What trips people up: Why does my pattern match nothing? Common causes are an unescaped special character, a missing global flag when you expect several matches, or anchors that assume single-line input.

Use it from code

Regex Tester runs on its page only and has no API. The Tools API covers the tools you can call from code.

Similar tools

All Developer Tools