How to find the url which comes before the first backbone.js token in the given text. I tried all possibilities but not able to do so.
Ref: https://regex101.com/r/rJ1oA8/4
Text: dfjSKsfkfkSFKfdvsfdvsdv https://text.com from https://test2.com sdjgdsdh https://backbone.js from jfsjfskf https://backbone.js jsvdywfiwqkbfs sfgsaifiwf sfasfk https://fggfgf.com
Expected output: https://test2.com
Text can have any number of urls