Kindly help me with the regular expression to count same html tags.
for example,
<html>
<body>
<b>file1</b><b>file2</b>
</body>
</html>
output => two (since two <b> tags are present in the file)
I need the expression to match any such same tags not specific to one tag.
for example,
<html>
<body>
<b>file1</b><b>file2</b>
</body>
</html>
output => two (since two <b> tags are present in the file)
I need the expression to match any such same tags not specific to one tag.
Comment