import re


def remove_string_extras(mytext: str):
    """
    remove_string_extras - removes extra characters from a string. everything except A-Za-z0-9 .,;
    """
    return re.sub(r"[^A-Za-z0-9 .,;]+", "", mytext)