How to extract url entity in rasa NLU

i want to extract {} in entity url … how to do that… i have tried with including regex for url entity as given below.

intent: inform_get_url


  • http[s]?://(?:[a-zA-Z]|[0-9]|[$-_@.&+]|[!*(), ]|(?:%[0-9a-fA-F][0-9a-fA-F]))+

still its failing to extract all type of url.

Hi @vermadev54! Based on your training examples, it looks like you expect inform_get_url to only include a url. Why not just grab the whole text?

When does the url regex work and when does it not?