Re: Algorithm or ideas wanted for creative text parsing

  • From: "Jared Still" <jkstill@xxxxxxxxx>
  • To: rjamya@xxxxxxxxx
  • Date: Mon, 10 Apr 2006 12:59:11 -0700

This is quite a complex task, that is if it is to be complete.

Check out http://www.foad.org/~abigail/Perl/url2.html

Jared


On 4/10/06, rjamya <rjamya@xxxxxxxxx> wrote:
>
> Basically I am looking to isolate just the (distinct) domain name from
> fully qualified domain names that you'd normally see in web-surfing.
>
> I am working on couple of techniques, but it gets complicated since
> TLDs differ in format and there is only so much you can do with
> substr().
>
> sample data ...
>
> a836.v8519e.c8519.g.vm.akamaistream.net
> a705.l1923962123.c19239.n.lm.akamaistream.net
>

Other related posts: