So I did find some similar questions with answers, but couldn't get it to work.

I want to check if the string inside a `<span class="productID">` tag STARTS with the letters "EP", if so then hide a button element on the page. So it would only check the first two characters within the tag and disregard the rest.