import re


def extract_number_from_str(input_string):
    """Extract last integer (may have several digits) from string.

    Parameters
    ----------
    input_string : str
        String to extract integer from.

    Returns
    -------
    int
        Last number found in string. May contain multiple digits.
    """
    return int(re.findall(r'\d+', str(input_string))[-1])