【发布时间】:2015-04-01 19:09:41
【问题描述】:
如果我在变量中包含以下文本,那么使用 "NetName:" 进行搜索并返回 "LVLT-GOGL-8-8-8" 的最佳方法是什么?
NetRange: 8.8.8.0 - 8.8.8.255
CIDR: 8.8.8.0/24
NetName: LVLT-GOGL-8-8-8
NetHandle: NET-8-8-8-0-1
Parent: LVLT-ORG-8-8 (NET-8-0-0-0-1)
NetType: Reallocated
NetType: Reallocated
OriginAS:
Organization: Google Inc. (GOGL)
RegDate: 2014-03-14
Updated: 2014-03-14
Ref: http://whois.arin.net/rest/net/NET-8-8-8-0-1
【问题讨论】:
标签: python parsing text split find