php - Completely remove separators using slugify -


i using slugify generate users slug want remove dashes, dots, spaces , every type character considered separator.

this possible changing default separator empty string, this:

echo $slugify->slugify('a strange.example_user-name', ''); 

will return this:

astrangeexampleusername 

Comments

Popular posts from this blog

Email notification in google apps script -

c++ - Difference between pre and post decrement in recursive function argument -

javascript - IE11 incompatibility with jQuery's 'readonly'? -