Question: I'll be the first to admit that my Regex knowledge is hopeless. I am using java with the following

```
Matcher m = Pattern.compile(">[^<>]*</a>").matcher(html);
while (m.find()) {
 resp.getWriter().println(html.substring(m.start(), m.end()));
}

```

I get the following list:

```
>Link Text a</a>
>Link Text b</a>

```

What am I missing to remove the `>` and the `</a>`.

Cheers.

Answer: 
I'm late to the party but I'd like to point out another alternative:

```
(?<=X)      X, via zero-width positive lookbehind

```

If you put your initial `>` into that mess, i.e.

```
(?<=>)[^<>]*</a>

```

then it should not be returned as part of your result.

Untested, though. Good luck!
A nice quick way to test your regular expressions, is to use a regex editor such as the following eclipse plugin:
<http://brosinski.com/regex/>