Let's say i have the string $urlname = "pine-tree-tshirt--green-xs"
I want my result to be $urlname = "pine-tree-tshirt-green-xs"
I don't want to remove all duplicates characters (for example tree, the e should be duplicated here), only the - character.