| Welcome to WebmasterWorld Guest from 220.127.116.11 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Pubcon Platinum Sponsor 2014|
|Making Search Engine friendly URL's|
I'd like to stip superflous characters from a product name to create a key for my mod-rewrite script. So if my client creates a product called...
"blue items (pack of 12)"
It creates an key in the format:
...you'll see that all punctuation has been replaced by a hyphen. It's this bit that I don't know how to do in a single hit.
Any ideas how I go about this?
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved