How does know how I can make a PHP script that checks if a HTML code stored as a variable contain certain words?
To illustrate my problem:
$html = "<p>My name is Herman</p><br><span>I like to eat hamburgers</span>";
For example; I need a PHP script that can check if this variable contains "Herman" or "hamburger".
Thanks you :)