Agent skill

regex-and-text-processing

Stars 5
Forks 0

Install this agent skill to your Project

npx add-skill https://github.com/Gaku52/claude-code-skills/tree/main/02-programming/regex-and-text-processing

SKILL.md

日本語版

Regular Expressions and Text Processing

Regular expressions are a powerful tool for text processing. This guide covers everything about regex -- from basic syntax, lookahead/lookbehind, and named captures to Unicode support and implementations across different languages.

Target Audience

  • Engineers who want to systematically learn regular expressions
  • Developers looking to streamline text processing and data cleansing
  • Those who want to improve their validation implementations

Prerequisites

  • Basic programming experience
  • Foundational knowledge of string manipulation

Study Guide

00-basics -- Regex Basics

# File Content

01-advanced -- Advanced Features

# File Content

02-languages -- Language-Specific Implementations

# File Content

Quick Reference

Regex Cheat Sheet:
  .       -- Any single character
  \d \w \s -- Digit / word character / whitespace
  [abc]   -- Character class
  ^  $    -- Start / end of line
  *  +  ? -- 0 or more / 1 or more / 0 or 1
  {n,m}   -- Between n and m times
  (...)   -- Capture group
  (?:...) -- Non-capturing group
  (?=...) -- Lookahead
  (?<=..) -- Lookbehind
  \1      -- Backreference

References

  1. Friedl, J. "Mastering Regular Expressions." O'Reilly, 2006.
  2. regular-expressions.info -- Comprehensive reference
  3. regex101.com -- Online tester

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results