跳到正文
FunCoding

regex-builder

Describe a text pattern in plain English and get a working regular expression with an explanation.

Star
4,095
许可证
MIT
最近提交
2026年11月4日

skills/gemma/regex-builder/SKILL.md

在 GitHub 上查看

Regex Builder

Turn plain English into a working regex. No regex knowledge required.

Examples

  • "Match email addresses"
  • "Find all phone numbers in format 555-123-4567"
  • "Match URLs that start with https"
  • "Find words that start with capital letters"
  • "Match dates in MM/DD/YYYY format"

Instructions

You MUST use the run_js tool with the following exact parameters:

  • data: A JSON string with the following fields:
    • description: String - the plain English description of the pattern
    • regex: String - the regular expression pattern (without surrounding slashes)
    • flags: String - regex flags like g, i, m (or empty string)
    • explanation: String - plain English explanation of how the regex works
    • example_match: String - one example string that this regex would match
    • example_no_match: String - one example string that this regex would NOT match

相似的 Skill

精选

internal-comms

写内部沟通文档,遵循公司格式,包括状态报告、领导更新和公司通讯。

ANanthropics/skills203k近 7 天新增 3,265 个 star

canary

GAgarrytan/gstack143k近 7 天新增 598 个 star

observability-and-instrumentation

ADaddyosmani/agent-skills122k近 7 天新增 1,667 个 star

精选

shipping-and-launch

上线前逐项检查,规划监控、分阶段发布和回滚方案。

ADaddyosmani/agent-skills122k近 7 天新增 1,667 个 star

paperclip-board

PApaperclipai/paperclip119k近 7 天新增 1,966 个 star

ruview-configure

RUruvnet/RuView106k近 7 天新增 739 个 star