Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

slug generator javascript

var slug = "CodePadding Rahman     ( Mizan ) 12456 <> title";
slug = slug.toLowerCase().replace(/[^w-]+/g, '-');
console.log(slug); // codepadding-rahman-mizan-12456-title
 
PREVIOUS NEXT
Tagged: #slug #generator #javascript
ADD COMMENT
Topic
Name
6+5 =