import re


def toSentenceCase(text):
    """
    Converts the given text to sentence case.

    Args:
        text (string): Text to convert to sentence case.

    Returns:
        (string): Sentence case version of given text.
    """
    return re.sub(r"(?<=\w)([A-Z])", r" \1", text).title()