I tried writing a program in Java using regex to match a pattern and extract it. Given a string like "This is a link- #www.google.com# and this is another #google.com#" I ...
I want extract values of all src attribute in this string, how can i do that:
<p>Test <img alt="70" width="70" height="50" src="/adminpanel/userfiles/image/1.jpg" /> Test <img alt="70" width="70" height="50" src="/adminpanel/userfiles/image/2.jpg" /> </p>