import re


def remove_space_around_char(char="-", text=""):
    """
    Remove the space around a char in the text, eg, text = "health - care" will become
    health-care
    :param text:
    :param char:
    :return:
    """
    text = re.sub("\s*{}\s*".format(char), char, text)
    return text