I have a html code like this
<html>
<body>
<a href="one">frist</a>
<a href="two">second</a>
<a href="three">third</a>
<a href="four">fourth</a>
</body>
</html>
I want to make a perl script that get this code and print the string between
<a href="
and
">
For this code it will be this
one
two
three
four
How can i do that? Sorry for my bad english
This is not the right way to parse an HTML file but for your given data this code will give you desire output:
data
Output