Hi
I have a variable like this :
$fulltext = '<h1>Welcome</h1> <h2>Welcome to this website</h2> <p>Some text here. </p>';
Now I want to get only Welcome to this website in another variable.
I want to copy text between <h2> and </h2>
I don't know how to do this?
Please help me
Thanks