I'd hoped to get all of the content between the tag a with class bc-de fg in a HTML file, like this:
<a class="bc-de fg"> XXXXXXXXXXXXX </a>
So I wrote the following regular expression:
$regexp = “<a\wclass="bc\wde">(.*?)<\/a>”
This does't work. I'm new to regular expressions, so I am trying to get more practice.
How can I correct this regular expression?