@@ -10,9 +10,9 @@ class StringConcatenate(io.ComfyNode):
1010 def define_schema (cls ):
1111 return io .Schema (
1212 node_id = "StringConcatenate" ,
13- display_name = "Text Concatenate" ,
14- category = "utils/string " ,
15- search_aliases = [ "Concatenate" , " text concat" , "join text" , "merge text" , "combine strings" , "concat" , "concatenate" , "append text" , "combine text" , "string" ] ,
13+ search_aliases = [ "concatenate" , "text concat" , "join text" , "merge text" , "combine strings" , "string concat" , "append text" , "combine text" ] ,
14+ display_name = "Concatenate Text " ,
15+ category = " text" ,
1616 inputs = [
1717 io .String .Input ("string_a" , multiline = True ),
1818 io .String .Input ("string_b" , multiline = True ),
@@ -33,9 +33,9 @@ class StringSubstring(io.ComfyNode):
3333 def define_schema (cls ):
3434 return io .Schema (
3535 node_id = "StringSubstring" ,
36- search_aliases = ["Substring " , "extract text" , "text portion" ],
37- display_name = "Text Substring" ,
38- category = "utils/string " ,
36+ search_aliases = ["substring " , "extract text" , "text portion" ],
37+ display_name = "Substring" ,
38+ category = "text " ,
3939 inputs = [
4040 io .String .Input ("string" , multiline = True ),
4141 io .Int .Input ("start" ),
@@ -58,7 +58,7 @@ def define_schema(cls):
5858 node_id = "StringLength" ,
5959 search_aliases = ["character count" , "text size" , "string length" ],
6060 display_name = "Text Length" ,
61- category = "utils/string " ,
61+ category = "text " ,
6262 inputs = [
6363 io .String .Input ("string" , multiline = True ),
6464 ],
@@ -77,9 +77,9 @@ class CaseConverter(io.ComfyNode):
7777 def define_schema (cls ):
7878 return io .Schema (
7979 node_id = "CaseConverter" ,
80- search_aliases = ["Case Converter " , "text case" , "uppercase" , "lowercase" , "capitalize" ],
81- display_name = "Text Case Converter " ,
82- category = "utils/string " ,
80+ search_aliases = ["case converter " , "text case" , "uppercase" , "lowercase" , "capitalize" ],
81+ display_name = "Convert Text Case" ,
82+ category = "text " ,
8383 inputs = [
8484 io .String .Input ("string" , multiline = True ),
8585 io .Combo .Input ("mode" , options = ["UPPERCASE" , "lowercase" , "Capitalize" , "Title Case" ]),
@@ -110,9 +110,9 @@ class StringTrim(io.ComfyNode):
110110 def define_schema (cls ):
111111 return io .Schema (
112112 node_id = "StringTrim" ,
113- search_aliases = ["Trim " , "clean whitespace" , "remove whitespace" , "strip" ],
114- display_name = "Text Trim" ,
115- category = "utils/string " ,
113+ search_aliases = ["trim " , "clean whitespace" , "remove whitespace" , "remove spaces" , "strip" ],
114+ display_name = "Trim Text " ,
115+ category = "text " ,
116116 inputs = [
117117 io .String .Input ("string" , multiline = True ),
118118 io .Combo .Input ("mode" , options = ["Both" , "Left" , "Right" ]),
@@ -141,9 +141,9 @@ class StringReplace(io.ComfyNode):
141141 def define_schema (cls ):
142142 return io .Schema (
143143 node_id = "StringReplace" ,
144- search_aliases = ["Replace " , "find and replace" , "substitute" , "swap text" ],
145- display_name = "Text Replace" ,
146- category = "utils/string " ,
144+ search_aliases = ["replace " , "find and replace" , "substitute" , "swap text" ],
145+ display_name = "Replace Text " ,
146+ category = "text " ,
147147 inputs = [
148148 io .String .Input ("string" , multiline = True ),
149149 io .String .Input ("find" , multiline = True ),
@@ -164,9 +164,9 @@ class StringContains(io.ComfyNode):
164164 def define_schema (cls ):
165165 return io .Schema (
166166 node_id = "StringContains" ,
167- search_aliases = ["Contains " , "text includes" , "string includes" ],
168- display_name = "Text Contains" ,
169- category = "utils/string " ,
167+ search_aliases = ["contains " , "text includes" , "string includes" ],
168+ display_name = "Contains Text " ,
169+ category = "text " ,
170170 inputs = [
171171 io .String .Input ("string" , multiline = True ),
172172 io .String .Input ("substring" , multiline = True ),
@@ -192,9 +192,9 @@ class StringCompare(io.ComfyNode):
192192 def define_schema (cls ):
193193 return io .Schema (
194194 node_id = "StringCompare" ,
195- search_aliases = ["Compare " , "text match" , "string equals" , "starts with" , "ends with" ],
196- display_name = "Text Compare" ,
197- category = "utils/string " ,
195+ search_aliases = ["compare " , "text match" , "string equals" , "starts with" , "ends with" ],
196+ display_name = "Compare Text " ,
197+ category = "text " ,
198198 inputs = [
199199 io .String .Input ("string_a" , multiline = True ),
200200 io .String .Input ("string_b" , multiline = True ),
@@ -228,9 +228,9 @@ class RegexMatch(io.ComfyNode):
228228 def define_schema (cls ):
229229 return io .Schema (
230230 node_id = "RegexMatch" ,
231- search_aliases = ["Regex Match " , "regex" , "pattern match" , "text contains" , "string match" ],
232- display_name = "Text Match" ,
233- category = "utils/string " ,
231+ search_aliases = ["regex match " , "regex" , "pattern match" , "text contains" , "string match" ],
232+ display_name = "Match Text " ,
233+ category = "text " ,
234234 inputs = [
235235 io .String .Input ("string" , multiline = True ),
236236 io .String .Input ("regex_pattern" , multiline = True ),
@@ -269,9 +269,9 @@ class RegexExtract(io.ComfyNode):
269269 def define_schema (cls ):
270270 return io .Schema (
271271 node_id = "RegexExtract" ,
272- search_aliases = ["Regex Extract " , "regex" , "pattern extract" , "text parser" , "parse text" ],
273- display_name = "Text Extract Substring " ,
274- category = "utils/string " ,
272+ search_aliases = ["regex extract " , "regex" , "pattern extract" , "text parser" , "parse text" ],
273+ display_name = "Extract Text " ,
274+ category = "text " ,
275275 inputs = [
276276 io .String .Input ("string" , multiline = True ),
277277 io .String .Input ("regex_pattern" , multiline = True ),
@@ -344,9 +344,9 @@ class RegexReplace(io.ComfyNode):
344344 def define_schema (cls ):
345345 return io .Schema (
346346 node_id = "RegexReplace" ,
347- search_aliases = ["Regex Replace " , "regex" , "pattern replace" , "regex replace" , "substitution" ],
348- display_name = "Text Replace (Regex)" ,
349- category = "utils/string " ,
347+ search_aliases = ["regex replace " , "regex" , "pattern replace" , "substitution" ],
348+ display_name = "Replace Text (Regex)" ,
349+ category = "text " ,
350350 description = "Find and replace text using regex patterns." ,
351351 inputs = [
352352 io .String .Input ("string" , multiline = True ),
@@ -381,8 +381,8 @@ class JsonExtractString(io.ComfyNode):
381381 def define_schema (cls ):
382382 return io .Schema (
383383 node_id = "JsonExtractString" ,
384- display_name = "Extract String from JSON" ,
385- category = "utils/string " ,
384+ display_name = "Extract Text from JSON" ,
385+ category = "text " ,
386386 search_aliases = ["json" , "extract json" , "parse json" , "json value" , "read json" ],
387387 inputs = [
388388 io .String .Input ("json_string" , multiline = True ),
0 commit comments