How can I get the following server path assigned to a variable with jQuery or JavaScript ?
<link rel="stylesheet" href="https://myServer:44301/Some/Path/">
From
<link rel="stylesheet" href="/core/assets/styles.min.css">
<link rel="stylesheet" href="/Content/Site.css">
<link rel="stylesheet" href="https://myServer:44301/Some/Path/">
<link rel="stylesheet" href="https://anotherServer/Another/Path/">
The string Some/Path
is what needs to be matched on.
To be clear, the variable should contain the string https://myServer:44301/