I got the answer but I'm really curious how others went about the solution. I'm sure there are better/more succinct ways to solve this task. Specifically, how did you handle "12."? My crazy solution involves splitting each line into words. If the first character of a word is a number, then I split the word into characters. Then I write sequential numbers into a prefix string and any characters following the last sequential digit into a suffix string.
if (Character.isDigit(firstChar)) {
    char[] characters = word.toCharArray();
    String prefix = "";
    String suffix = "";

    for (int j = 0; j < characters.length; j++) {
        if (Character.isDigit(characters[j])) {
            prefix += characters[j];
        } else {
            suffix += characters[j];
    int num = Integer.parseInt(prefix);
    //search map for number...
//other stuff
Phew, that's a lot of work! There have to be better solutions out there!