These nodes identifies specific content in the input prompt (each content occupies only one line) based on txt files containing predefined content that needs to be recognized. It then adds a special prefix (as a marker) to the identified content and inserts it back into the original prompt.
https://github.com/GHOSTLXH/ComfyUI-prompt-filter-nodes
git clone https://github.com/GHOSTLXH/ComfyUI-prompt-filter-nodes
comfy node install prompt-filter-nodes