>>374
超適当
static Pattern pattern = Pattern.compile("\\$fax bangou (\\d+) \\S+ \\$end");
static void hoge(String s) {
Matcher m = pattern.matcher(s);
while(m.find()) {
System.out.println(m.group(1));
}
}