I'm working on a module that will allow a user to pull up the tweets from a specified list. One of the issues I'm facing is converting the group name from the user inputted name to it's URL counterpart. For example, "It's all J!, baby" is called as "it-s-all-j-baby" via the URL.
Does anyone have any suggestions for a preg_replace I can use in my code to convert group names in a similar manner used by twitter.com? -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk