How search the output only -
if any DOM as below?
<p>-</p>
<p><span style="font-size: medium;">-</span></p>
- etc.
Currently I just use the codes as below to find this output -
:
$input = `<p>-</p>`;
if($input == `<p>-</p>`):
return true;
else:
return false;
endif;
Any better ideas?