A comprehensive guide and utility for writing efficient, secure, and cross-engine compatible regular expressions.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install regex
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install regex using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
Regular expressions are essential for modern development, yet their implementation varies wildly across different programming environments. This skill, integrated within the Openclaw Skills ecosystem, provides a technical framework for writing precise patterns tailored to specific engines like JavaScript, Python, PCRE, and Go. It bridges the gap between simple string matching and complex text processing by detailing advanced concepts such as lookahead assertions, non-capturing groups, and engine-specific flags.
By using this skill, developers can ensure their patterns are optimized for performance and security. It focuses on the technical nuances of greedy versus lazy matching and provides the knowledge necessary to prevent common issues like catastrophic backtracking. Openclaw Skills empowers developers to handle everything from simple validation to complex data extraction with professional-grade regex logic.
To integrate this skill into your development environment, ensure you have the Openclaw Skills framework installed and configured.
# Add the regex skill to your local registry
openclaw install regex-expert
# Configure the default engine for your project
openclaw config regex --engine=javascript
The Regex skill organizes patterns and metadata into a structured format to ensure cross-engine compatibility.
| Feature | Component | Description |
|---|---|---|
| Boundary | Anchors | Defines start (^), end ($), and word boundaries (\b). |
| Selection | Classes | Defines character sets ([abc]) and shorthands (\d, \w). |
| Logic | Groups | Handles capturing (()), non-capturing ((?:)), and named groups. |
| Assertions | Lookarounds | Validates context without consuming characters ((?=...), (?<=...)). |
| Modifiers | Flags | Controls global (g), case-insensitive (i), and multiline (m) modes. |
Loading
An AI skill that enables agents to self-critique, learn from mistakes, and proactively surface lessons to reduce revision rounds.

A comprehensive AI assistant for sourcing candidates, screening resumes, and managing professional hiring pipelines with a focus on impact and equity.

A context-aware recommendation engine that learns user preferences and researches options to provide highly personalized matches.

A structured personal culinary database that converts URLs, photos, and notes into a searchable markdown recipe library with automated scaling and meal planning.

A sophisticated memory management system for AI agents that prioritizes high-value context while pruning low-value noise.

A comprehensive remote access management skill for establishing secure RDP, VNC, and SSH X11 connections with automated tunneling.








































