Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

slug javascript

function makeSlug(slug){
	return slug.toLowerCase().replace(/[^w-]+/g, '-');
}
let slug = makeSlug("CodePadding Rahman     ( Mizan ) 12456 <> title")
Source by www.30secondsofcode.org #
 
PREVIOUS NEXT
Tagged: #slug #javascript
ADD COMMENT
Topic
Name
8+5 =