def METHOD_NAME(text):
    text = text.lower().strip()
    text = text.replace("urodzona", "")
    text = text.replace("urodzonego", "")
    text = text.replace("urodzony", "")
    text = text.rstrip(" r.")
    text = text.rstrip(" r.,")
    text = text.rstrip("r")
    text = text.strip()
    for pl, en in MONTHS.items():
        text = text.replace(pl, en)
    prefix = h.parse_formats(text, BDAY_FORMATS)
    if prefix.dt:
        return prefix.text