Woot! Regexp is working.
javascript:var i;var p_0=prompt("Enter your regexp (default%3A don't filter)%3A","/()/");eval("p_0="%2Bp_0%2B";");var o_0=window.open('','o_0','width=450,height=250,status=0,toolbar=0,location=0,menubar=0,directories=0,resizable=1,scrollbars=1');o_0.document.open('text/plain','replace');for(i=0;i%3Cdocument.links.length;i%2B%2B){if(p_0.test(document.links[i].href)){o_0.document.write(document.links[i].href%2B'%5Cr%5Cn%5Cr%5Cn')}}o_0.document.title='Links';o_0.document.close();o_0.document.execCommand("SaveAs");void 0;
var i;
var p_0 = prompt("Enter your regexp (default: don't filter):", "/()/");
eval("p_0=" + p_0 + ";"); // HELP! Is there a cleaner way? // for example sets a comment.
var o_0 = window.open('', 'o_0', 'width=450,height=250,status=0,toolbar=0,location=0,menubar=0,directories=0,resizable=1,scrollbars=1');
o_0.document.open('text/plain', 'replace');
for (i = 0; i < document.links.length; i++) {
if (p_0.test(document.links[i].href)) {
o_0.document.write(document.links[i].href + '\r\n\r\n')
}
}
o_0.document.title = 'Links';
o_0.document.close();
o_0.document.execCommand("SaveAs");
void 0;
Enjoy
