Skip to main content
added 33 characters in body
Source Link
Bart Kiers
  • 170.9k
  • 38
  • 307
  • 297

I have several anchor tags in a text,

Input: <a href="http://stackoverflow.com" >Take me to StackOverflow</a>

Output: http://stackoverflow.com

How can I find all those input strings and convert it to the output string in java, without using a 3rd party API ???

I have several anchor tags in a text,

Input: <a href="http://stackoverflow.com" >Take me to StackOverflow</a>

Output: http://stackoverflow.com

How can I find all those input strings and convert it to the output string in java ?

I have several anchor tags in a text,

Input: <a href="http://stackoverflow.com" >Take me to StackOverflow</a>

Output: http://stackoverflow.com

How can I find all those input strings and convert it to the output string in java, without using a 3rd party API ???

Source Link
Ebbu Abraham
  • 2.1k
  • 5
  • 23
  • 30

Extracting anchor tag from html using Java

I have several anchor tags in a text,

Input: <a href="http://stackoverflow.com" >Take me to StackOverflow</a>

Output: http://stackoverflow.com

How can I find all those input strings and convert it to the output string in java ?