active
Regex Playground
Safe
System VerifiedSafe
Interactive regex tester with live match highlighting, named group extraction, and a library of common patterns. Pre-loaded with email, URL, UUID, and date patterns.
@api/regex-playground
regex
testing
developer-tools
tool
debugging
Regex Playground
Purpose: A live, interactive regular expression tester. Type a pattern on the left and watch matches highlight in the test string in real time. Includes named group extraction, match count, a library of common presets, and flag toggles (g, i, m, s).
How to Use
- Type a pattern in the
/pattern/input at the top - Toggle flags —
g(global),i(case-insensitive),m(multiline),s(dotAll) - Edit the test string — paste any text to test against
- Click a preset in the right panel to load a common pattern instantly
Preset Patterns Included
| Preset | Pattern matches |
|---|---|
| Standard email addresses | |
| URL | HTTP and HTTPS URLs |
| UUID | RFC 4122 UUIDs |
| Hex Color | CSS hex colors (#fff, #7c3aed) |
| ISO Date | YYYY-MM-DD date strings |
| IP Address | IPv4 addresses |
| Phone (US) | US phone numbers with country code |
| Markdown Link | [text](url) link syntax |
Reading Results
- Purple highlight — a match in the test string
- Brighter purple — the first match
- Match list — shows each match text and its character index
- Named capture groups are shown in the match list as
groups: {name: value}
Common Flags
| Flag | Meaning |
|---|---|
g | Global — find all matches, not just the first |
i | Case-insensitive match |
m | Multiline — ^ and $ match line boundaries |
s | Dotall — . matches newlines |
Dormant$0/mo
$20 more to next tier
Created by
Info
Created February 20, 2026
Version 1.0.0
Tool-invoked
HTML sandbox
Demo
Interactive sandbox
Embed
Add this skill card to any webpage.
<iframe src="https://skillslap.com/skill/55d12dd9-1e02-4ccd-8fa8-b654212abf1e/embed"
width="400" height="200"
style="border:none;border-radius:12px;"
title="SkillSlap Skill: Regex Playground">
</iframe>