ComfyUI Node
LC Text Remove πͺ
Remove substrings with 1β20 sequential finds (no replacement value). Whitespace-only finds are ignored so spaces are not stripped from the whole prompt. Leftover double spaces are collapsed after removals.
LC Text Remove πͺ
- text
βtextββΊ
βentrycount1βΊ
βuse_regexfalseβΊ
βcount0βΊ
βfind_1βΊ
βfind_2βΊ
βfind_3βΊ
βfind_4βΊ
βfind_5βΊ
βfind_6βΊ
βfind_7βΊ
βfind_8βΊ
βfind_9βΊ
βfind_10βΊ
βfind_11βΊ
βfind_12βΊ
βfind_13βΊ
βfind_14βΊ
βfind_15βΊ
βfind_16βΊ
βfind_17βΊ
βfind_18βΊ
βfind_19βΊ
βfind_20βΊ
CategoryLC123/utils
Inputs (24)
| Name | Type | Default | Description |
|---|---|---|---|
| text | STRING | Source text to transform. | |
| entrycount | INT | 11β20 | Number of find rows to show and apply. |
| use_regex | BOOLEAN | false | Treat find as a regular expression. |
| count | INT | 00β99999 | Max removals per find. 0 = remove all matches. |
| find_1opt | STRING | Text #1 to remove (skipped if empty or only spaces). | |
| find_2opt | STRING | Text #2 to remove (skipped if empty or only spaces). | |
| find_3opt | STRING | Text #3 to remove (skipped if empty or only spaces). | |
| find_4opt | STRING | Text #4 to remove (skipped if empty or only spaces). | |
| find_5opt | STRING | Text #5 to remove (skipped if empty or only spaces). | |
| find_6opt | STRING | Text #6 to remove (skipped if empty or only spaces). | |
| find_7opt | STRING | Text #7 to remove (skipped if empty or only spaces). | |
| find_8opt | STRING | Text #8 to remove (skipped if empty or only spaces). | |
| find_9opt | STRING | Text #9 to remove (skipped if empty or only spaces). | |
| find_10opt | STRING | Text #10 to remove (skipped if empty or only spaces). | |
| find_11opt | STRING | Text #11 to remove (skipped if empty or only spaces). | |
| find_12opt | STRING | Text #12 to remove (skipped if empty or only spaces). | |
| find_13opt | STRING | Text #13 to remove (skipped if empty or only spaces). | |
| find_14opt | STRING | Text #14 to remove (skipped if empty or only spaces). | |
| find_15opt | STRING | Text #15 to remove (skipped if empty or only spaces). | |
| find_16opt | STRING | Text #16 to remove (skipped if empty or only spaces). | |
| find_17opt | STRING | Text #17 to remove (skipped if empty or only spaces). | |
| find_18opt | STRING | Text #18 to remove (skipped if empty or only spaces). | |
| find_19opt | STRING | Text #19 to remove (skipped if empty or only spaces). | |
| find_20opt | STRING | Text #20 to remove (skipped if empty or only spaces). |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| text | STRING | β |