Swaps underscore with hyphen. Removes the first character if it is a hyphen. Also removes last character if it is a hyphen too.
Swaps underscore with hyphen. Removes the first character if it is a hyphen. Also removes last character if it is a hyphen too.

Signed-off-by: Mehmet Baker <8a9867c4a956d39a8dcad98675ff74fa110f9c54@gmail.com>

nurimba/nb-slug,nurimba/nb-slug