slugify(title) converting any title to a URL slug: lowercase, non-alphanumeric runs become single hyphens, and leading/trailing hyphens are trimmed — two re.sub calls plus strip('-').slugify(' 10 Tips: Python & SQL! ')'10-tips-python-sql'
Symbols and spaces collapsed into hyphens.
First sub: [^a-z0-9]+ → '-' on the lowercased title.
Then .strip('-').