Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

.NET 

regex how to fix this regex code to get matching domain links ?

Code
((?:http|https)(?::\/{2}[\w]+)(?:[\/|\.]?)(?:[^\s""]*))

- B
Code
(https?://[-a-zA-Z?-??-?()0-9@:%_+.~#?&;//=]+)

Try that I hate regex so much!
Com'n goddamned are u that stupid and lazy? modify the damn regex we fucking spoon fed you every pattern for any domain, and still your begging for more spoon feeding.

im done with you.
convert links to URI and take the domain

Code
msgbox( ToURI("http://site.com/?longtext").host )
    Function ToURI(ByVal link As String) As Uri
      Return New Uri(link)
    End Function


Possibly Related Threads...
Thread / Author Replies Views Last Post
[Legends] by itcorpJul 13, 2026 06:41 PM 7 414 Jul 13, 2026 06:41 PM
Last Post: CL1B
[Python] by PlutoPicksSep 24, 2020 07:50 PM 4 167 Sep 24, 2020 07:50 PM
Last Post: Lindros
[.NET] by dark.teamJun 25, 2015 05:15 AM 25 388 Jun 25, 2015 05:15 AM
Last Post: +Haze