/ Published in: Regular Expression
![](/img/icon_sav.png?v3)
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
/^((http[s]?|ftp):\/)?\/?([^:\/\s]+)(:([^\/]*))?((\/\w+)*\/)([\w\-\.]+[^#?\s]+)(\?([^#]*))?(#(.*))?$/gi schema = 2, domain = 3, port = 5, path = 6, file = 8, querystring = 9, hash = 12
Comments
![RSS Feed for Comments RSS Icon](/images/rss.png?v3)