I'm wanting to search a file full of http links.. I know how to search for a string and such but I don't know how I would search for a link inside a file.
I just basically want to search a index.html for a certain site pertaining to ..lets say http://www.blah.com, and copy that entire link into an output file..but my problem lies at stuff like http://www.blah.com/hjahsJS or http://www.blah.com/jse833.. How would I copy the entire link? The index.html code I'm wanting to search, has < after every link. Just hoping for some pointers.
I do not have any code to show right now, I pretty much know the basics of I/O..except this part. And School is over, had my last finals last night. This is just a personal project.
Thanks for any help.