Regular Expression in Dialogflow - Count anything in a string

Viewed 67

I'm trying to build a RegEx and put in an entity in Dialogflow that checks that the number of characters in a string (I also need whitespaces, numbers and specials) are between 0 and 130.

The following regular expression is correct, but Dialogflow tells me that "Regular expression match is too broad":

^(.){0,130}$ or ^([\s\S]){0,130}$

Is there a way doing this without coding?

0 Answers
Related