Now this is not working - it gives me an arrayOutOfBounds exception:
Code:
 public String linkFromLine(int line, String url) throws IOException {
        String k = getLine(url, line);
        String[] l = k.split("href..");
        System.out.println("TRUE");
        String i = l[1];
        String[] p = i.split(".>.*td.");
        return p[0];
    }
It is designed to rip the link out from a sentince.
Anyone?

EDIT: Never mind, I rewrote it and it works perfectly.