What problem does it solve?
This Skill helps you write, understand, and debug regular expressions without trial-and-error guesswork. It saves time when you need to validate input, find patterns in logs, extract structured values, or refactor text safely.
Core Features & Use Cases
- Validation Patterns: Use ready-made regexes for emails, URLs, IP addresses, phone numbers, dates, passwords, UUIDs, and version strings.
- Parsing and Extraction: Pull useful fields from logs, JSON snippets, code, and plain text with practical capture-group examples.
- Search-and-Replace Help: Apply regex-based replacements for code refactoring, cleanup, and bulk text edits across JavaScript, Python, Go, and shell tools.
- Debugging Guidance: Understand greedy vs lazy matching, escaping rules, multiline behavior, and performance pitfalls that commonly break patterns.
- Use Case: If a log file contains mixed error lines and timestamps, this Skill can help you isolate the exact entries, extract key fields, and rewrite them into a cleaner format.
Quick Start
Use the regex-patterns skill to find the email addresses in the attached text file and explain the best pattern to extract them safely.