ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified

Regex Gen

Skill by lxgicstudios

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/lxgicstudios/regex-gen
Or

Regex Gen

Generate regex patterns from plain English descriptions. Because nobody actually remembers regex syntax.

Quick Start

npx ai-regex "match email addresses"

What It Does

  • Converts plain English to working regex
  • Explains what each part of the pattern does
  • Provides test cases for validation
  • Supports common patterns out of the box
  • Works for any programming language

Usage

# Generate regex from description
npx ai-regex "match phone numbers with optional country code"

# Get regex for URLs
npx ai-regex "validate URLs including localhost"

# Match dates
npx ai-regex "match dates in YYYY-MM-DD format"

Example Output

Pattern: ^[\w.-]+@[\w.-]+\.\w{2,}$
Explanation:
  ^ - Start of string
  [\w.-]+ - One or more word chars, dots, or hyphens
  @ - Literal @ symbol
  ...
Test cases: ✓ [email protected][email protected]

Part of the LXGIC Dev Toolkit

One of 110+ free developer tools from LXGIC Studios. No paywalls, no sign-ups.

Find more:

License

MIT. Free forever.

Metadata

Stars1601
Views1
Updated2026-02-27
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-lxgicstudios-regex-gen": {
      "enabled": true,
      "auto_update": true
    }
  }
}
Safety NoteClawKit audits metadata but not runtime behavior. Use with caution.