RegexPal

Installation
SKILL.md

RegexPal

A real regex tester and toolkit for the terminal. Test patterns against text, find matches in files with highlighted output, perform replacements, extract capturing groups, and get human-readable explanations of regex syntax.

Commands

Command Description
regexpal test <pattern> <text> Test if a regex matches text — reports full match, partial match, groups, and named groups
regexpal match <pattern> <file> Find all matches in a file — highlights matches in red, shows line numbers and match count
regexpal replace <pattern> <replacement> <file> Replace all matches in a file and output to stdout. Supports backreferences (\1, \2)
regexpal extract <pattern> <file> Extract capturing groups from all matches in a file — shows each group value per match
regexpal explain <pattern> Break down a regex pattern — lists character classes, groups, tokens, and quantifiers

Requirements

  • python3 (uses re stdlib module)

Examples

Installs
3
First Seen
Apr 23, 2026
RegexPal from skills.volces.com