regex-tester
Installation
SKILL.md
Regex Tester
Test regular expressions with syntax validation, match testing, group extraction, and replacement.
Features
- Validate: Check regex syntax validity
- Test: Match patterns against text
- Groups: Extract capture groups
- Replace: Find and replace with regex
- Explain: Get human-readable pattern explanation
- Flags: Support for common regex flags (global, case-insensitive, multiline, dotall)
Usage
# Test pattern matching
./scripts/regex.js --pattern "hello.*world" --text "hello there world"