">:MASBicudo?!".strip(":>|!?.")
Result is "MASBicudo".
"MASBicudo"
This removes any of the characters from both ends of the string. Order does not matter.