Re: Another parse problem

From: Date: Mon, 14 Jun 2010 13:18:26 +0000
Subject: Re: Another parse problem
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-306128@lists.php.net to get a copy of this message
On Mon, 2010-06-14 at 09:14 -0400, tedd wrote: > Hi gang: > > Considering all the recent parsing, here's another problem to > consider -- given any text, parse the domain-names out of it. > > You may limit the parsing to the most popular TDL's, such as .com, > .net, and .org, but the finished result should be an array containing > all the domain-names found in a text file. > > Cheers, > > tedd > -- > ------- > http://sperling.com > http://ancientstones.com > http://earthstones.com > I'm assuming it won't be anything as simple as assuming all the domains begin with the http:// prefix? :p Thanks, Ash http://www.ashleysheridan.co.uk

« previous php.general (#306128) next »