
    Write a function to sanitize customer financial identifiers by removing all spaces from the concatenated reference string to ensure standardized database entry for automated loan processing. The function should handle alphanumeric identifiers of any length while preserving all non-whitespace characters in their original order.
    

    
import re

def remove_whitespaces(text1):
    """
    Write a function to sanitize customer financial identifiers by removing all spaces from the concatenated reference string to ensure standardized database entry for automated loan processing. The function should handle alphanumeric identifiers of any length while preserving all non-whitespace characters in their original order.
    

    """
import re

def remove_whitespaces(text1):
    """
    Write a function to sanitize customer financial identifiers by removing all spaces from the concatenated reference string to ensure standardized database entry for automated loan processing. The function should handle alphanumeric identifiers of any length while preserving all non-whitespace characters in their original order.
    

    """
    return re.sub('\\s+', '', text1)