Skip to content

Regex Slot Filler


Use this Node to fill Slots using regular expressions. To learn more about Slots and Tags, see Lexicons & Slots.


Parameter Type Description
Regex Regular expression The regular expression applied to input utterance.
Flags Regular expression flag characters in single string Regular expression flags you want to set
Tag CognigyScript The Tag/Slot you want to fill


Make sure that your regular expression starts with / and ends with /g.

Example: /^1\d{โ€‹โ€‹โ€‹โ€‹7}โ€‹โ€‹โ€‹โ€‹$/g