Ok, so, I just want to know how to parse a string so that I can extract all the URLs (and only the URLs) from the string. Suppose that this is the text:
"The Guqin is the modern name for a plucked seven-string Chinese musical instrument of the zither family. For more info on it, check this page: http://en.wikipedia.org/wiki/Guqin
I would want to know how to get just "http://en.wikipedia.org/wiki/Guqin
" from that.
Obviously, there are a few things that will need to be considered... Not all the URLs will be separated by spaces or commas as sometimes the URL is followed by a period since it is at the end of a sentence. Not all URLs will end in an extension, such as the one above. The URLs will vary in location and there will be no static formatting. All URLs will have http://
which should make things easier...
Thanks in advance.