Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Regex Expression Not Working in Dialogflow ES

I'm using Dialogflow to build a bot that will capture a book title.

Fo starters I wrote a regex that will capture if someone writes "my title is harry potter" or "the title is Hamlet".

The expected output is harry potter, or, Hamlet

The regex entity that I've written is: ^(?:([a-zA-z0-9 ]*\s{0,3}title\s{0,3}is\s{0,3})+)([a-zA-Z0-9 -)(@&'$#]*)?$

It's not getting recognized in the intent at all. Just blank.

Please help. It's urgent.

Regards

 

 

0 0 138
0 REPLIES 0