regex-tool

Match and extract text patterns using regular expressions. Use for data validation, text parsing, and pattern-based extraction tasks.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "regex-tool" with this command: npx skills add dinghaibin/regex-tool

Regex - Regular Expression Matcher

Search text using regular expressions to find, extract, and replace patterns. Supports standard regex syntax with capturing groups, alternation, and quantifiers for advanced text processing.

Usage

regex-tool [options] <pattern> <file>

Options

  • -i: Case-insensitive matching
  • -o: Show only matched text
  • -r REPLACE: Replace matches with text
  • -g: Global match (all occurrences)

Examples

regex-tool "\d{4}-\d{2}-\d{2}" dates.txt
regex-tool -i "error|warning" log.txt
regex-tool -r "[REDACTED]" "\b\d{3}-\d{2}-\d{4}\b" data.txt

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Mini

英国标志性小型车品牌,宝马旗下,采用前置前驱设计,提供个性化定制,专注电动化与生活方式定位。

Registry SourceRecently Updated
General

Runtime Doctor

Diagnose local OpenClaw runtime/config drift, gateway disconnects, session recovery failures, workspace state incoherence, and runtime stability issues with...

Registry SourceRecently Updated
General

Base Stable Arb Radar

Read-only Base stablecoin arbitrage radar for Uniswap V3 and Aerodrome with gas-aware filtering, slippage haircuts, webhook alerts, state persistence, and vo...

Registry SourceRecently Updated
General

Podcast To Video

Skip the learning curve of professional editing software. Describe what you want — convert my podcast audio into a video with waveform animation and captions...

Registry SourceRecently Updated