Take the tour ×  I have a script providing information for some
ip address.  I want to extract the country from the text.  in
the following text country line is "Country: US"  I want to
display : US only  The text is:  [Querying whois.arin.net] #
"n" # Use "?" to get help.  # The following results may also be
obtained via:  NetRange: - OriginAS:       AS15169 NetName:
GOOGLE NetType:        Direct Allocation RegDate:
2009-08-17 Updated:        2012-02-24  OrgName:        Google
Inc. OrgId:          GOGL Address:        1600 Amphitheatre
Parkway City:           Mountain View StateProv:      CA
PostalCode:     94043 Country:        US RegDate:
2000-03-30 Updated:        2011-09-24  OrgTechHandle: ZG39-ARIN
OrgTechName:   Google Inc OrgTechPhone:  +1-650-253-0000
OrgTechEmail:  arin-contact@google.com  OrgAbuseHandle:
ZG39-ARIN OrgAbuseName:   Google Inc OrgAbusePhone:
+1-650-253-0000  OrgAbuseEmail:  arin-contact@google.com  #
available at: https://www.arin.net/whois_tou.html share|im