I\'ve been searching for at least 2hrs but I can\'t find any pattern to extract following Urls using regex. I went with too many patterns which described in many articles. But I
Salam. Try this one:
https?://[^\s]+
https?://[\w\.]+\.\w+(:\d{1,5})?(/[\w?&.=]+)?