How to cut a URL with regular expression
- by AhmadAssaf
Hello,
i am trying to chop a string that contains several information in java ..
the text is something like that :
<a href="http://www.hootsuite.com" rel="nofollow">HootSuite</a>
i am thinking of using the .split method that need regular expression ..
what i want it to split this string into the URL without quotes .. http://...... .com
and then the text between the tags .. this case HootSuite ..
i will appreciate the help
Thank you