how is the url name convention in modern pages constructed sharepoint online ?

nellie 126 Reputation points

When I create a new modern page , I put the title hello world you'r a good programmer and publish it
it creates the page name hello-world-you'r-a-good-programmer.aspx

Does anyone have the full algorithm in c# to give you the page name based on a title ?

A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,071 questions
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,523 questions
{count} votes