I have HTML output and want to search a specific element on HTML DOM, let say below:
<html>
<body>
<div id="post">
<div>
<h3><a>Post Title Here</a></h3>
</div>
</div>
</body>
</html>
with that HTML output, from that i wanted to get the text inside tag using preg_match function. How am i going to format it on preg_match?
Answers are greatly appreciated!