developer

Regex Tester

Write and test regular expressions with live highlighting of all matches. Supports flags (global, case-insensitive, multiline). Saves your regex library to localStorage for reuse.

/g/
Flags:
3 matches
Send results to alice@example.com and bob@test.org Contact: support@company.co.uk

Match details

#1alice@example.comindex 16
#2bob@test.orgindex 38
#3support@company.co.ukindex 60
Patterns saved locally

Test regex without leaving your browser

Regular expressions are powerful but notoriously hard to get right. This tester gives you instant visual feedback — every match highlights in yellow as you type, making it easy to refine your pattern.

Save your regex library

Save frequently used patterns like email validators, URL matchers and phone number formats to your local library. They persist across sessions in localStorage.