ComfyUI Extension: ComfyUI_StringOps
StringOps is a versatile text processing toolkit built for ComfyUI's node-based workflows
Custom Nodes (38)
- 添加前后缀(meeeyo.com)
- 段落每行添加前后缀(meeeyo.com)
- 批量替换字符(meeeyo.com)
- 判断是否包含字符(meeeyo.com)
- 比较数值(meeeyo.com)
- 判断返回内容(meeeyo.com)
- 文本出现次数(meeeyo.com)
- 段落提取指定索引行(meeeyo.com)
- 提取前后字符(meeeyo.com)
- 文本拆分(meeeyo.com)
- 提取多层指定数据(meeeyo.com)
- 提取特定行(meeeyo.com)
- 提取标签之间(meeeyo.com)
- 按数字范围提取(meeeyo.com)
- 从路径加载(meeeyo.com)
- 段落提取或移除字符行(meeeyo.com)
- 段落字数条件过滤行(meeeyo.com)
- 查找表格数据(meeeyo.com)
- 指定字符行参数(meeeyo.com)
- 规范数值(meeeyo.com)
- 生成范围数组(meeeyo.com)
- 当前时间
- 范围内随机数(meeeyo.com)
- 常规处理字符(meeeyo.com)
- 随机行内容(meeeyo.com)
- 读取表格数据(meeeyo.com)
- 读取表格数量差(meeeyo.com)
- 删除标签内的内容(meeeyo.com)
- 多次出现依次替换(meeeyo.com)
- 替换第n次出现(meeeyo.com)
- 选择参数
- 随机打乱(meeeyo.com)
- 按序号提取分割文本(meeeyo.com)
- 分隔符拆分两边(meeeyo.com)
- 重置尺寸(meeeyo.com)
- 文本组合(meeeyo.com)
- 文本按条件判断(meeeyo.com)
- 写入表格数据(meeeyo.com)
README
ComfyUI_StringOps
Efficient Text Processing Tool for ComfyUI Workflow
ComfyUI_StringOps is an advanced text processing tool tailored for the ComfyUI workflow, offering robust text manipulation capabilities to address core issues such as text preprocessing, data transformation, and batch automation, enabling efficient and precise operations.
-
Batch Replacement: Supports partial or global batch replacement of strings for rapid text processing and delivery to subsequent processes, enhancing task efficiency.
-
Intelligent Splitting/Concatenation: Splits text based on character counts and delimiters, and supports flexible recombination of multiple text segments to meet complex processing needs.
-
Precise Extraction: Accurately extracts specified content from text using positional indexing and keyword matching, providing precise data support for subsequent processes.
-
Integration with Excel: Achieves deep integration with Excel, supporting read and write operations on paged and tabular data, facilitating batch completion of complex tasks and significantly improving efficiency.
Update Notes (2025-04-21):
1.Added LoadAndAdjustImage node to load and resize images.
2.Added SaveImagEX node to save images to a specified directory (also added an image output port).
3.Added functionality to get the current timestamp (can be used as a random seed).
4.Added the ability to copy and cut files.
5.Added the feature of reading web page content.
Partial Node Display
Text Processing Node
Table Data Read/Write Nodes
ComfyUI_StringOps excels in handling prompts within workflows, especially in organizing and optimizing them, thereby significantly enhancing efficiency and accuracy.
Install
cd ComfyUI/custom_nodes
git clone https://github.com/MeeeyoAI/ComfyUI_StringOps.git
Or download the zip file and extracted, copy the resulting folder to ComfyUI\custom_nodes
Restart ComfyUI.
More Info
✅ bilibili:
https://space.bilibili.com/3546690300676691
✅ Website:
http://www.meeeyo.com
✅ Sponsorship:
https://t.zsxq.com/ufSS2
✅ WeChat
: meeeyo