import re


def get_prop_value(style_str, prop_name):
    """Get the property value from a style string"""
    search_str = f"\s*?{prop_name}\s*?:\s*?([-\w]*)"
    re_result = re.findall(search_str, style_str)
    return re_result[0]