Nodes/Arctenoxs-Essentials_ComfyUI/Wildcard String (Arctenox's Essentials)
ComfyUI Node

Wildcard String (Arctenox's Essentials)

Multiline string primitive with wildcard support. Resolves {a|b|c} and __filename__ wildcards before passing the string downstream. Outputs both the original and resolved text.

By Arctenox·Created 8 months ago·Updated about a month ago· 1
Wildcard String (Arctenox's Essentials)
    • text
    • resolved_text
    text
    wildcard_seed0
    CategoryArctenox Essentials/Prompting

    Inputs (2)

    NameTypeDefaultDescription
    textSTRINGAny text. Wildcards are resolved on output: {a|b|c} → picks one option at random __filename__ → picks a random line from wildcards/filename.txt
    wildcard_seedINT0-1–18446744073709550000Seed for wildcard resolution. -1 = new random picks every run 0+ = locked / reproducible

    Outputs (2)

    NameTypeDescription
    textSTRING
    resolved_textSTRING