Regexr
Create, test, and learn regular expressions with live matching. Use when validating patterns, checking groups, generating regex, linting syntax.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/bytesagain1/regexrRegexr
Developer tools CLI for checking, validating, generating, and working with regular expressions and code patterns. Lint syntax, explain complex expressions, convert between formats, generate templates, diff pattern versions, preview matches, fix common regex issues, and produce reports — all from the command line with persistent local logging.
Commands
Run regexr <command> [args] to use.
| Command | Description |
|---|---|
check | Check regex patterns for correctness and common pitfalls |
validate | Validate regex syntax and structure |
generate | Generate regex patterns from descriptions or examples |
format | Format and prettify regex expressions |
lint | Lint regex for style, performance, and safety issues |
explain | Explain what a regex pattern does in plain language |
convert | Convert regex between flavors (PCRE, JS, Python, etc.) |
template | Apply or manage regex templates for common use cases |
diff | Diff two regex patterns and show behavioral differences |
preview | Preview regex matches against sample text |
fix | Auto-fix common regex issues (escaping, anchoring, etc.) |
report | Generate regex quality and coverage reports |
stats | Show summary statistics across all categories |
export <fmt> | Export data in json, csv, or txt format |
search <term> | Search across all logged entries |
recent | Show recent activity from history log |
status | Health check — version, data dir, disk usage |
help | Show help and available commands |
version | Show version (v2.0.0) |
Each domain command (check, validate, generate, etc.) works in two modes:
- Without arguments: displays the most recent 20 entries from that category
- With arguments: logs the input with a timestamp and saves to the category log file
Data Storage
All data is stored locally in ~/.local/share/regexr/:
- Each command creates its own log file (e.g.,
check.log,validate.log,generate.log) - A unified
history.logtracks all activity across commands - Entries are stored in
timestamp|valuepipe-delimited format - Export supports JSON, CSV, and plain text formats
Requirements
- Bash 4+ with
set -euo pipefailstrict mode - Standard Unix utilities:
date,wc,du,tail,grep,sed,cat - No external dependencies or API keys required
When to Use
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-bytesagain1-regexr": {
"enabled": true,
"auto_update": true
}
}
}Tags
Related Skills
Thesaurus
Look up synonyms, antonyms, and related words with history and export. Use when finding alternatives, checking usage, running drills, analyzing frequency.
Epoch
Convert Unix timestamps, compare epochs, and do time arithmetic. Use when converting dates, debugging timestamps, or checking timezone offsets.
etl
Build ETL pipelines with data ingestion, cleaning, and validation steps. Use when ingesting sources, transforming formats, validating data, or scheduling loads.
skill-tracker
通用技能使用统计追踪器,支持 Python 和 Node.js 技能,自动记录调用次数、成功率,生成使用排行榜。数据本地存储,保护隐私。
consent
Build cookie consent banners and track opt-in compliance status. Use when implementing GDPR consent, auditing cookies, generating privacy banners.