Hello, I am having trouble with a program that I am making. I have a txt file and I load it in as a string. The txt file contains something like this:

www.vbforums.com.
------------------------------------------------------
Record Name . . . . . : www.vbforums.com
Record Type . . . . . : 1
Time To Live . . . . : 85014
Data Length . . . . . : 4
Section . . . . . . . : Answer
A (Host) Record . . . :
63.236.73.220

Record Name . . . . . : vbforums.com
Record Type . . . . . : 2
Time To Live . . . . : 85014
Data Length . . . . . : 4
Section . . . . . . . : Authority
NS Record . . . . . :
ns1.internet.com

Record Name . . . . . : vbforums.com
Record Type . . . . . : 2
Time To Live . . . . : 85014
Data Length . . . . . : 4
Section . . . . . . . : Authority
NS Record . . . . . :
ns3.internet.com

Record Name . . . . . : ns1.internet.com
Record Type . . . . . : 1
Time To Live . . . . : 85014
Data Length . . . . . : 4
Section . . . . . . . : Additional
A (Host) Record . . . :
63.236.72.133

Record Name . . . . . : ns3.internet.com
Record Type . . . . . : 1
Time To Live . . . . : 85014
Data Length . . . . . : 4
Section . . . . . . . : Additional
A (Host) Record . . . :
63.236.72.135
It is just a log from a cmd command "ipconfig /displaydns"

I would like to be able to just get out any substring that ends with the following:


.com
.net
.org
.info
.edu
.de
.biz
.tv
.us
.co.uk
.eu

And then it will output this:

www.vbforums.com
www.vbforums.com
vbforums.com
ns1.internet.com
vbforums.com
ns3.internet.com
ns1.internet.com
ns3.internet.com
How in the world would I do that?

Thanks