/ Published in: PHP
Expand |
Embed | Plain Text
function get_clean_url_string($str) { '/\s+/i', '/(-|_)(-|_)*/', '/[^a-z0-9_-]/i' ); '-', '$1', '' ); }
You need to login to post a comment.
section31 on 09/16/08
4 people have marked this snippet as a favorite
jdstraughan
luman
ithinksometimes
vali29
function get_clean_url_string($str) { '/\s+/i', '/(-|_)(-|_)*/', '/[^a-z0-9_-]/i' ); '-', '$1', '' ); }
You need to login to post a comment.