Skip to content

Regex Slot Filler

Description

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

Settings

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

Regex

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

Example: /^1\d{​​​​7}​​​​$/g