There's a few HTTP links in a single line but I'd like my script to capture the 1st HTTP link found (or 2nd or 3rd - depends if they changed the layout in the future?) and use that to echo back to myself.
here's example...

<moviebot> The Lion King (Animation, Adventure, Drama) - https://www.imdb.com/title/tt6105098 - Official Site Link : https://movies.disney.com/the-lion-king-2019 - Blu-ray due out on or around 22nd Oct 2019
<moviebot> Fast & Furious: Hobbs & Shaw (Action, Adventure) - https://www.imdb.com/title/tt6806448 - Official Site Link : https://www.hobbsandshaw.com - Blu-ray due out on or around 5th Nov 2019
...
...


And so on, but if I use $5 on that Lion King, it'll picks up https://www.imdb.com/title/tt6105098 but not that F&F because that's would show up as & frown

If I do my way, it'll be very messy i.e.
Code
If (http isin $1) { /echo -a $1 | halt }
else (http isin $2) { /echo -a $2 | halt }
else (http isin $3) { /echo -a $3 | halt }
else (http isin $4) { /echo -a $4 | halt }
else (http isin $5) { /echo -a $5 | halt }
else (http isin $6) { /echo -a $6 | halt }
else (http isin $7) { /echo -a $7 | halt }

But also, "optional", I'd like to output to something like this

The Lion King - https://www.imdb.com/title/tt6105098

Strip out the genre and the rest of the line because it's cleaner for me to read rather than having to read that long line from moviebot.

I'm still a newbie to coding - can only write very basic code - I'd appreciated for any help.