extract all urls from a string
Posted
by codemonkey12
on Stack Overflow
See other posts from Stack Overflow
or by codemonkey12
Published on 2010-03-20T01:14:42Z
Indexed on
2010/03/20
1:21 UTC
Read the original article
Hit count: 205
I have a string of text that contains html, and I need to extract each url (most likely in img or a tags) to create a generic list of string objects. Is there an easy way to do this or will I have to resort to regular expressions?
If I have to resort to regular expressions, would you mind helping me out with that as well? :)
© Stack Overflow or respective owner