ComfyUI Node
Regex Match To Float
If regex matches, returns a float if regex matches
Regex Match To Float
- FLOAT
◄string—►
◄regex_pattern—►
◄output_on_match—►
◄output_on_non_match—►
◄case_insensitivetrue►
◄multilinefalse►
◄dotallfalse►
Categorydb0
Inputs (7)
| Name | Type | Default | Description |
|---|---|---|---|
| string | STRING | — | |
| regex_pattern | STRING | — | |
| output_on_match | FLOAT | — | |
| output_on_non_match | FLOAT | — | |
| case_insensitiveopt | BOOLEAN | true | — |
| multilineopt | BOOLEAN | false | — |
| dotallopt | BOOLEAN | false | When enabled, the dot (.) character will match any character including newline characters. When disabled, dots won't match newlines. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| FLOAT | FLOAT | — |