You can extract numbers from string using regex.
Pattern p = Pattern.compile("\\d+");
Matcher m = p.matcher("Call forwarding [112234]& Multiparty [434566] & Caller line identification[12345]&.");
while (m.find())
System.out.println(m.group());
In your example you need to add found items to String[] list={};
.