Josen
>I just create an instance of java.net.URL with the supplied URL string.
>It is able to validate that the URL is correct and has many methods of
>interacting with URLs, which I find to be much more useful than a
>RegEx.
>
>-Matt
>
>
>On Feb 16, 2004, at 3:52 PM, Josen Ruiseco wrote:
>
>> I am looking for a regular _expression_ that captures a domain name
>> within a url. It needs to consider all the possible variations of a
>> domain name, ie. domain.com, www.domain.com, www.domain.co.uk,
>> domain.biz, etc.
>>
>> Does anyone have that written already?
>>
>> Thanks...
>>
>> Josen
>>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

