String aid = "http://127.0.0.1:8080/??sdf=s&&st=b=&&?sw?=%B9%FA+%BC%D2&tb=&st=9";
Pattern p = Pattern.compile("(\\?|&+)(.+?)=([^&]*)");
Matcher m = p.matcher(aid);
while (m.find()) {
System.out.println(m.group(2) + "=" + m.group(3));
}
posted on 2009-07-28 10:16
SIMONE 阅读(2441)
评论(0) 编辑 收藏 所属分类:
JAVA 、
JSP