Regex Playground
name: regex-playground
by chenxuyaun · published 2026-03-22
$ claw add gh:chenxuyaun/chenxuyaun-regex-playground---
name: regex-playground
description: Learn, test, and debug regular expressions with real-time matching, explanations, and common patterns. Perfect for developers learning regex or debugging complex patterns.
metadata:
{
"openclaw":
{
"requires": { "bins": [] },
"install": [],
},
}
---
# Regex Playground
Interactive regular expression learning and testing tool.
Usage
regex "pattern" "test string"Features
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
| Pattern | Meaning | Example |
|---------|---------|---------|
| `\d+` | One or more digits | 123 |
| `\w+` | Word characters | hello_123 |
| `[a-z]` | Letter range | a, b, c |
| `^start` | Starts with | start... |
| `end$` | Ends with | ...end |
| `a|b` | OR | a or b |
| `a*` | Zero or more a | '', a, aaa |
| `a+` | One or more a | a, aaa |
Commands
Use Cases
More tools from the same signal band
Order food/drinks (点餐) on an Android device paired as an OpenClaw node. Uses in-app menu and cart; add goods, view cart, submit order (demo, no real payment).
Sign plugins, rotate agent credentials without losing identity, and publicly attest to plugin behavior with verifiable claims and authenticated transfers.
The philosophical layer for AI agents. Maps behavior to Spinoza's 48 affects, calculates persistence scores, and generates geometric self-reports. Give your...