Ok, so I want to open a website, send it some info, and retrieve the info, then use it. I know how to do everything except retrieve the info I want because in this case its different from every other time I've done this and I can't recall an example of this in another script I've seen.

So in the info I get back from the site there are multiple lines that I want to grab info from, and they all look similar. So lets say I wanted to get all the names of the dogs from a list of pet names which might looks like this.

DOG:Alex
CAT:Fluffy
Fish:Fluffstuff
Dog:Tina
Dog:Geri
Fish:Stupidface
Cat:Tigger

Normally I'd just check if DOG is in the text then regex..but there are 3 different lines here that I want to pull info from, and I'm confused about how this works. I'd like to make either 3 different variables or a nice delineated one.

I could figure this out if I had an example of a script that does this or if someone was nice enough to tell me that would work too smile