JSFiddle - React, Tailwind, and code Playground

by jfriend00

JavaScript

var id = "99% of People are not the 1%";
id = id.replace(/[^a-z0-9\-_:\.]|^[^a-z]+/gi, "");
alert(id);