i am referring this link to extract url from a webpage which contains specific words
regex to print url from any webpage with specific word in url
but few urls like pinterest and facebook referal url contains the words which is interested to me but i dont want to use facebook ,pinterest urls as they are not the direct url so i want to exclude these urls so i have observed that these urls will contain atleast two http
something like this
so i want to exclude urls which contains atleast two http