--- language: - en license: apache-2.0 size_categories: - 100K 1: return parts[0].strip() return text text = """ Central Zazaki is a dialect of the Zazaki language. It is spoken in Eastern Anatolia Region of Turkey. Related pages Zazaki Central Anatolia Region Other websites example.com """ print(split_on_headings(text)) ```