Getting attribute of a source extract

I would like to extract a list of hrefs from a page that is preloading resources, such as:
"<link rel=\"preload\" href=\"/wp-content/plugins/elementor/assets/lib/font-awesome/webfonts/fa-brands-400.woff2\" as=\"font\" type=\"font/woff2\" crossorigin=\"\">"
I presume I need to use commands like sourceExtract to read such data.

What I would like to know is if there is a command analogous to storeAttribute to simply extract the href portion of the link, or do I have to use javascript to extract it?

Have you tried using storeAttribute?

Eg. linkText=flow control commands@href

Pls refer to:

Thank you for your reply. The reason for my question is simply that, having tried storeAttribute and finding it doesn’t work at all for such non-visible code like the prefetch and preload commands and having read through the documentation, I was looking for another solution.

You mentioned using sourceExtract. Have you tried using a regex such as <a\s+[^>]?href="([^"])" on the source code to help extract the list of hrefs you want?

I find different methods we can use here: