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

  1. Type a pattern in the /pattern/ input at the top
  2. Toggle flagsg (global), i (case-insensitive), m (multiline), s (dotAll)
  3. Edit the test string — paste any text to test against
  4. Click a preset in the right panel to load a common pattern instantly

Preset Patterns Included

PresetPattern matches
EmailStandard email addresses
URLHTTP and HTTPS URLs
UUIDRFC 4122 UUIDs
Hex ColorCSS hex colors (#fff, #7c3aed)
ISO DateYYYY-MM-DD date strings
IP AddressIPv4 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

FlagMeaning
gGlobal — find all matches, not just the first
iCase-insensitive match
mMultiline — ^ and $ match line boundaries
sDotall — . matches newlines
Dormant$0/mo

$20 more to next tier

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>