I need a regex pattern to match any text that comes between <a href="https://website.com">Health & Beauty</a>
that may or may not include a space and/or special character "&" but should not exceed the character limit of 10. In said case, I would want to extract:
Beauty & Fashion
The following is a regix code to extract anchor text:
(<[a|A][^>]*>|)
But I want to limit the character to 1 to 10 ? Is that possble?