Posted By

typomatic on 09/08/12


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite


Domain Regex

 / Published in: Regular Expression

Regular expression to pull the domain from a URL.

  1. /https?:\/\/(?:[-\w]+\.)?([-\w]+)\.\w+(?:\.\w+)?\/?.*/i

Report this snippet  


RSS Icon Subscribe to comments
Posted By: Jacky888 on October 21, 2018

the 8 best tv antenna that plugs into reviewtvantennas

You need to login to post a comment.