Linked Questions

Popular Questions

how to parse only HTML TAG with regex in java without jsoup

Asked by At

Hi all i need to parse only HTML TAG WITH REGEX, and left with non html tag with out jsoup

for example

<h1> i love india <\h1>
<xyz> name <\xyz>
<html> hey i won! <\html>
<syd> like it <\syd>
<br> love you <br>  

expected output is:

i love india
hey i won!
love you

i tried lot but not getting the exact answer any one help me out of this. thanks in advance.

Related Questions