I want to extract any text as entity after a specific text. For example nlu entry would look like -> ##intent:direct_search_db I want to search for entity of any length
regex:search_string
I want to search for([^\n\r]*)
So in this case if user gives text ->
-
I want to search for string of any lenght to go . Entity extracted must be -> ‘string of any length to go’
-
If user gives text -> I want to search for any other string. Entity extracted must be -> ‘any other string’
How do I achieve this? Entity is not getting extracted properly. I want to extract any string as entity which is given after specific text like in example after ‘I want to search for’ .