import re


def remove_special_characters(text:str) -> str:
    """Define function for removing special characters
        
    Args:
      text: String to filter for special characters.
    
    Return:
      text: String with special characters removed.
    
    """

    pattern=r'[^a-zA-z\s]'
    text=re.sub(pattern,'',text)
    return text