I'm trying to write a script that will read a webpage and find links that have certain words in them. Since I am relatively new to php, I don't know what functions to use to accomplish this.
if I was to look for the word dog, I would want it to find something like this: <a href="something.htm">dog</a>
Would this be fairly easy? Any pointers in the right direction would be helpful (i.e. functions, links, etc.)
Thanks for your help 😃