I’m trying to identify the project name from the given input using a regular expression in Dialogflow ES. Name can be in anywhere in the message. It only consists alphanumeric and hyphen(-) and It should not exceed 255 characters.
I tested adding several regex combinations. But everything was failed to identify the project name correctly. Please help me to find the suitable regex pattern for my use case.
Additionally, I want to recognize the project name when it is given as a separate single input following the regex ^[a-zA-Z0-9-]{1,255}$ . But this regex does not supported in Dialogflow. Can you suggest a alternative regex which can be used in Dialogflow ES.
Thank you.
