regex-playground

Learn, test, and debug regular expressions with real-time matching, explanations, and common patterns. Perfect for developers learning regex or debugging complex patterns.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "regex-playground" with this command: npx skills add chenxuyaun/regex-playground

Regex Playground

Interactive regular expression learning and testing tool.

Usage

regex "pattern" "test string"

Features

  • 🎯 Real-time matching
  • 📖 Plain English explanation
  • 🔍 Match groups extraction
  • 📋 Common patterns library
  • 🧪 Test cases generator

Example

Input: regex "(\w+)@(\w+)\.(\w+)" "test@example.com"

Output:
✓ Match: test@example.com
Group 1: test
Group 2: example  
Group 3: com

Explanation:
- (\w+) - capture word characters (test)
- @ - literal @
- (\w+) - capture word characters (example)
- \. - literal dot
- (\w+) - capture word characters (com)

Common Patterns

PatternMeaningExample
\d+One or more digits123
\w+Word charactershello_123
[a-z]Letter rangea, b, c
^startStarts withstart...
end$Ends with...end
`ab`OR
a*Zero or more a'', a, aaa
a+One or more aa, aaa

Commands

  • regex explain <pattern> - Explain pattern in plain English
  • regex test <pattern> <string> - Test pattern against string
  • regex library - Show common patterns
  • regex generate <type> - Generate test cases (email, url, phone, etc.)

Use Cases

  • Debug regex in code
  • Learn regex by seeing matches
  • Validate input patterns
  • Extract data from strings

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

Webhook Tester

Webhook testing and debugging tool. Send test webhook payloads to any URL, simulate various webhook events (GitHub, Stripe, Slack), inspect responses, and lo...

Registry SourceRecently Updated
Coding

Azuredatastudio

Azure Data Studio is a data management and development tool with connectivity to popular cloud and o azuredatastudio, typescript, azure, azure-data-studio, e...

Registry SourceRecently Updated
1130ckchzh
Coding

Awesome Postgres

A curated list of awesome PostgreSQL software, libraries, tools and resources, inspired by awesome-m awesome postgres, python, database, postgres, postgresql...

Registry SourceRecently Updated
Coding

Awesome Cheatsheets

👩‍💻👨‍💻 Awesome cheatsheets for popular programming languages, frameworks and development tools. They awesome cheatsheets, javascript, backend, bash, chea...

Registry SourceRecently Updated