一键导入
lightflow-text-regex
Use this skill when working with the lightflow.text_regex workflow that matches or replaces text with regular expressions.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use this skill when working with the lightflow.text_regex workflow that matches or replaces text with regular expressions.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use this skill when working with the lightflow.control_if workflow that selects between two JSON values.
Use this skill when working with the lightflow.control_merge workflow that merges two JSON values.
Use this skill when working with the lightflow.control_split workflow that splits JSON arrays or objects.
Use this skill when working with the lightflow.control_switch workflow that selects JSON values by key.
Use this skill when working with the lightflow.image_crop workflow that crops PNG image artifacts.
Use this skill when working with the lightflow.image_edit workflow that creates deterministic preview image edits.
| name | LightFlow Text Regex |
| description | Use this skill when working with the lightflow.text_regex workflow that matches or replaces text with regular expressions. |
| version | 0.1.0 |
Use lightflow.text_regex to run deterministic regex matching or replacement in a workflow.
lightflow.text_regexlightflow.text.regex.text: required source text; widget textarea.pattern: required Rust regex pattern.replacement: optional replacement text. When omitted, output text is the original input.text, matched, match_count, captures, first_match.lfw run lightflow.text_regex -i text='cat 42' -i pattern='(\d+)' -i replacement='id:$1'
Start lfw serve, then call the workflow through the shared HTTP run contract. Adjust inputs to match the workflow contract above.
curl -sS -X POST http://127.0.0.1:5174/workflows/lightflow.text_regex/run \
-H 'content-type: application/json' \
-d '{"inputs":{}}'