preg_replace to conditionally replace twitter hashtag and user mentions with urls

Linkify your twitter hashtags and twitter user mentions! Need to replace twitter hashtags and usernames with the actual Twitter hashtag search query links/URLs and user profile pages? Twitter Username / User Mention Preg_replace

  Twitter Hashtag Preg_replace

  … Continued