Yet another, but this time a small WhoIS problem.

V

Vjay77

As a result from who is I am getting this:
NOTICE AND TERMS OF USE: You are not authorized to access or query
our WHOIS database through the use of high-volume, automated,
electronic processes. The Data in Network Solutions' WHOIS database
is provided by Network Solutions for information purposes only, and
to assist persons in obtaining information about or related to a
domain name registration record. Network Solutions does not guarantee
its accuracy.
By submitting a WHOIS query, you agree to abide by the following
terms of use: You agree that you may use this Data only for lawful
purposes and that under no circumstances will you use this Data to:
(1) allow, enable, or otherwise support the transmission of mass
unsolicited, commercial advertising or solicitations via e-mail,
telephone, or facsimile; or (2) enable high volume, automated,
electronic processes that apply to Network Solutions (or its computer
systems). The compilation, epackaging, dissemination or other use of
this Data is expressly
prohibited without the prior written consent of Network Solutions.
You agree not to use high-volume, automated, electronic processes to
access or query the WHOIS database. Network Solutions reserves the
right to terminate your access to the WHOIS database in its sole
discretion, including without limitation, for excessive querying of
the WHOIS database or for failure to otherwise abide by this policy.
Network Solutions reserves the right to modify these terms at any
time.
Whois Server Version 1.3

Domain names in the .com and .net domains can now be registered
with many different competing registrars. Go to http://www.internic.net
for detailed information.

Domain Name: BLABLABLA.COM
Registrar: TUCOWS, INC.
Whois Server: whois.opensrs.net
Referral URL: http://www.opensrs.org
Name Server: NS2.CANACA.NET
Name Server: NS.CANACA.NET
Status: ACTIVE
Updated Date: 22-dec-2003
Creation Date: 22-dec-2003
Expiration Date: 22-dec-2004

EST <<<

NOTICE: The expiration date displayed in this record is the date the
registrar's sponsorship of the domain name registration in the registry is
currently set to expire. This date does not necessarily reflect the
expiration date of the domain name registrant's agreement with the
sponsoring registrar. Users may consult the sponsoring registrar's
Whois database to view the registrar's reported date of expiration
for this registration.
TERMS OF USE: You are not authorized to access or query our Whois
database through the use of electronic processes that are
high-volume and automated except as reasonably necessary to register
domain names or modify existing registrations; the Data in VeriSign
Global Registry
Services' ("VeriSign") Whois database is provided by VeriSign for
information purposes only, and to assist persons in obtaining information
about or related to a domain name registration record. VeriSign does not
guarantee its accuracy. By submitting a Whois query, you agree to abide
by the following terms of use: You agree that you may use this Data only
for lawful purposes and that under no circumstances will you use this Data
to: (1) allow, enable, or otherwise support the transmission of mass
unsolicited, commercial advertising or solicitations via e-mail, telephone,
or facsimile; or (2) enable high volume, automated, electronic processes
that apply to VeriSign (or its computer systems). The compilation,
repackaging, dissemination or other use of this Data is expressly
prohibited without the prior written consent of VeriSign. You agree not to
use electronic processes that are automated and high-volume to
access or query the Whois database except as reasonably necessary to
register
domain names or modify existing registrations. VeriSign reserves the
right to restrict your access to the Whois database in its sole
discretion to ensure operational stability. VeriSign may restrict or
terminate your access to the Whois database for failure to abide by
these terms of use. VeriSign reserves the right to modify these terms
at any time.
The Registry database contains ONLY .COM, .NET, .EDU domains and
Registrars.

The previous information has been obtained either directly from the
registrant or a registrar of the domain name other than Network Solutions.
Network Solutions, therefore, does not guarantee its accuracy or completeness.


As you see, only important information for me is this chunk:
Domain Name: BLABLABLA.COM
Registrar: TUCOWS, INC.
Whois Server: whois.opensrs.net
Referral URL: http://www.opensrs.org
Name Server: NS2.CANACA.NET
Name Server: NS.CANACA.NET
Status: ACTIVE
Updated Date: 22-dec-2003
Creation Date: 22-dec-2003
Expiration Date: 22-dec-2004

EST <<<

How to I cut off the top and bottom part? I tried to play with this
for a while, but I can't get it to work.
Could someone help? I will very much appreciate if someone could
explain.
 
H

Herfried K. Wagner [MVP]

* (e-mail address removed)-spam.invalid (Vjay77) scripsit:
How to I cut off the top and bottom part? I tried to play with this
for a while, but I can't get it to work.
Could someone help? I will very much appreciate if someone could
explain.

There is no standard format for WHIOS queries. The result will be
formatted in human readable format, but it's not intended for
automatical processing. You can search for keywords in the result and
try to isolate the information.
 
V

Vjay77

You see, in this case I get always the same result, just middle part
os different.
And that middle part I want to extract.
Question is how.
 
H

Herfried K. Wagner [MVP]

* (e-mail address removed)-spam.invalid (Vjay77) scripsit:
You see, in this case I get always the same result, just middle part
os different.
And that middle part I want to extract.
Question is how.

Use the string's 'Substring' method or 'Strings.Mid'.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top