<?php $str = strtolower(trim(preg_replace('/[^a-zA-Z0-9]+/', '-', $str), '-')); ?>
You have javascript disabled. You will not be able to edit any code.