@Test
public void test(){
String href = "dfhk-id-909-ewfh";
Pattern pattern = Pattern.compile("[^0-9]");//\d
Matcher matcher = pattern.matcher(href);
String all = matcher.replaceAll("");
System.out.println( all);
}
String url = "https://www.baidu.com/s?ie=UTF-8&wd=%E5%8A%9F%E5%A4%AB"
String encode = URLEncoder.encode(url, "utf-8");
String decode = URLDecoder.decode(url, "utf-8");