There are many posts in stackoverflow on using regular expressions for links. I tried one which did return links of the form: https://www.soup.com/myJscriptFile.js (and others) but it also returned css styles and other unwanted results. And it did not return links of the form
a href="subfolder/file.js"
So I tried my own regular expression as follows:
/<a href=.*\>
I thought that I could use ordinary string functions to strip off the 'href' and the brackets. But this does not work. I tried a question mark after the asterix to prevent 'greedy' behavior and that did not work. I am out of my depth. Any help is appreciated.