Regex from another domain?
===

I'm trying to make an automated process to retrieve some information from a site on my work network.

    var duderegex = new RegExp("Title for Mr. [^\n]+","m");
    var dude = duderegex.exec(input);

So far, so good.  The problem is that I'm writing this on my work computer and probably won't be able to convince anyone to store this on the same domain as the site that is hosting it.  So that technically makes it XSS.  And I'd rather not have to get approval to install anything seriously funky (so I can't guarantee JQuery or a powershell that's easier to copy/paste from, for example).

I don't have any problems downloading files and manipulating them via webpage after download, but that adds a step clicking Save As...

Does anyone have any workable solutions for running regex on HTML source from a different domain?  I don't need to limit it to Javascript, but getting PHP to work, for example, might require more resources than I have.