Help extracting/single out a url from text

I have flow with a gmail trigger. all works ok and I get the output. in the output there is “messages” which is basically the content of this email. for the specific use I need, the email message contains 1 url for example : https://example.com/node/3435 . there is some message and text before and after the url. what I want is to extract only this url , to single it out so I get use it in other actions in my flow. I cannot manage to find a way to do it via activepieces. any suggestions ?