code: private static Long parseDigits(final String text, final int start) {
  		for (int i = start; i < text.length(); ++i) {
  			char character = text.charAt(i);
  			if (character < '0' || character > '9') {
  				return parseLong(text.substring(start, i));
  			}
  		}
  
  		return parseLong(text.substring(start));
  	}
docs: Parses digits from a defined position in a text. Following non-numeric characters will be ignored.
  
  @param text
  Text that potentially contains digits
  @param start
  Position in text from which digits should be parsed
  @return Parsed digits or {@code null} if there is no valid number at the defined position