import re
import unicodedata
def slugify(text):
text = unicodedata.normalize('NFKD', text).encode('ascii', 'ignore').decode('utf-8')
text = re.sub(r'[^\w\s-]', '', text).strip().lower()
text = re.sub(r'[-\s]+', '-', text)
return text
# Örnek içerik başlığı
content_title = "SXHBQ1051214SXQ"
# Slug oluştur
url_slug = slugify(content_title)
# URL'yi oluştur
url = f"https://www.example.com/{url_slug}"
print(url)