Remove all urls from text

What are you trying to achieve?

Hi!
I have a text that contains several urls with square brackets at the beginning and end, for example: [https://www.example.org]. They always have https and www, and what I need is to return the same text but removing all the urls.
Thanks!

Steps taken so far

I tried “match elements” module with http pattern, then an array aggregator, and finally a repeater with length array to replace url found with emptystring and output the last text, but it´s not working well.