# Regex Tester

> 测试和调试正则表达式，支持匹配高亮、捕获组和常用模式库。 Use when this capability is needed.

- Skill: `tomevault-io/regex-tester` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/regex-tester`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/regex-tester/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/regex-tester

---


# Regex Tester Tool

## Description
Test and debug regular expressions with match highlighting, capture group extraction, and a library of common patterns.

## Trigger
- `/regex` command
- User needs to test regex
- User wants pattern matching help

## Usage

```bash
# Test pattern
python scripts/regex_tester.py "\\d+" "abc123def456"

# Show capture groups
python scripts/regex_tester.py "(\\w+)@(\\w+)" "user@domain" --groups

# Find all matches
python scripts/regex_tester.py "\\b\\w{4}\\b" "The quick brown fox" --all

# Use common pattern
python scripts/regex_tester.py --pattern email "Contact: test@example.com"
```

## Tags
`regex`, `pattern`, `match`, `test`, `text`

## Compatibility
- Codex: ✅
- Claude Code: ✅

---
> Converted and distributed by [TomeVault](https://tomevault.io/claim/aidotnet) — claim your Tome and manage your conversions.
<!-- tomevault:4.0:skill_md:2026-04-11 -->

