Find the correct way to write regular expressions.

Personally, I think it would be better to take two steps for your reference.

The first step is to find all the hyperlinks.

(? & lt=href=")[^"]+(? =")

The second part filters out hyperlinks with absolute paths.

^(/|http)