Regex Tester
Test regular expressions instantly with live highlighting, regex flags, match statistics, and common examples.
Common Regex Examples
\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,}\b
\b\d{10}\b
https?:\/\/(www\.)?[a-zA-Z0-9@:%._\+~#?&//=]{2,256}\.[a-z]{2,6}\b
\d+
\b((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.|$)){4}\b
Regex Cheat Sheet
\d → Digit
\w → Word character
\s → Whitespace
. → Any character
^ → Start of line
$ → End of line
* → 0 or more
+ → 1 or more
? → Optional
{n} → Exactly n times
How to Use This Regex Tester
- Enter a regex pattern in the Regex Pattern field.
- Select flags such as global, case-insensitive, or multiline.
- Paste text in the Test Text area.
- Matches are highlighted instantly as you type.
What This Tool Helps With
- Validate emails, phone numbers, and URLs.
- Debug regex patterns during development.
- Extract data from logs and structured text.
- Support QA testing and DevOps workflows.