Registered: March 13, 2007 | Posts: 350 |
| Posted: | | | | Quoting StaNDarD: Quote: Moving all unknown links to others and adding second and top level domain (example.com) as description would be good enough for me. (Which could be done by a simple regular expression.) Hmmm ... i think that something like this: /(http:\/\/)?(www.)?([^:\/]*)(.*)/ would get \3 as the "domain" (actually all of the hostname minus any www) (I'm a big fan of regex ![](/images/emoticons/happy.gif) ) | | | -fred |
|