(self,body, fmt=" .,:%*")
Args:
            body:
            fmt:
    
        Returns:
Args:
            body:
            fmt:
    
        Returns:
Args : body : fmt : Returns :
def my_strip(self,body, fmt=" .,:%*"):
        """
        Args:
            body:
            fmt:
    
        Returns:
    
        """
    
        try:
            body = re.sub("MAC\s\w{4}\.\w{4}\.\w{4}", "", body)
            body = body.strip(fmt)
            return body
        except:
            raise
def my_strip ( self , body , fmt = " .,:%*" ) : try : body = re . sub ( "MAC\s\w{4}\.\w{4}\.\w{4}" , "" , body ) body = body . strip ( fmt ) return body except : raise