← 返回
未分类

Regex Tool

Match and extract text patterns using regular expressions. Use for data validation, text parsing, and pattern-based extraction tasks.
使用正则表达式匹配和提取文本模式。适用于数据验证、文本解析和基于模式的提取任务。
dinghaibin
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 290
下载
💾 0
安装
1
版本
#latest

概述

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

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-08 02:39 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

Datetime Tool

dinghaibin
全面的日期时间操作工具包,支持多种格式、时区转换、日历计算、自然语言解析以及日期...
★ 0 📥 411

Automation Workflow

dinghaibin
创建并管理自动化工作流,以处理重复性任务。适用于需要安排周期性数据同步、链式API调用、设置触发动作等场景。
★ 0 📥 366

Unexpand Tool

dinghaibin
将文本文件中的空格转为制表符,保持统一缩进并减小文件大小。
★ 0 📥 387