-
I’d like to know how to handle a situation when
hrefdoesn’t exist after the<strong>Text:</strong> -
Is there a better way to search for the content that exists after
<strong>Contact:</strong>
I’d like to know how to handle a situation when href doesn’t exist after
Share
How about findNext?
If you’re looking specifically for an
atag with anhref, use:With this you won’t need to condense whitespace. I imagine you did this because
nextwas returning the whitespace after the label.