I'm trying to create a regular expression to extract URLs from text documents using Java, but thus far I've been unsuccessful. The two cases I'm looking to capture are listed below:
URLs that start with http:// URLs that start with www. (Missing the protocol from the front)
along with the query string parameters.
Thanks! I wish I really knew Regular expressions better.
Cheers,