package tk.blizz.jaxws.test;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class TestRegex {
/**
* @param args
*/
public static void main(String[] args) {
Pattern pattern = Pattern.compile("]*\\s+href=\"([^<>\"]*)\"[^<>]*>");
//System.out.println(pattern);
String href = null;
Matcher matcher = pattern.matcher("");
if (matcher.find()) {
href = matcher.group(1);
}
System.out.println(href);
}
}