Use Matcherwith regex 99\d{2}:
String str = " 9926 9928 9951 9953 0 30 57 12 40 54 30";
Matcher m = Pattern.compile("99\\d{2}").matcher(str);
while (m.find())
System.out.println(m.group());
9926
9928
9951
9953
See also: Pattern
, \d , [0-9]. , {2} , ", , ". , 99\d{2} 9, :

Debuggex
, Pattern static final, , .