title: Parsing Tweets for #hashtags and @usernames using iOS for multiple languages
body: <p>I want to transform a tweet for display in a UIWebView. I want to convert the #hashtags and @usernames into html links which I then will handle.</p>
  
  <p>I have found some solutions using regular expressions but most seem to have problems as email addresses and web links can have the '@' character in them.</p>
  
  <p>Does anyone know of an appropriate way to do this in Objective-C? Can it be done using regular expressions, which are available in <a href="http://developer.apple.com/library/ios/#documentation/Foundation/Reference/NSRegularExpression_Class/Reference/Reference.html" rel="nofollow">iOS 4 and later</a>? Or do I need to get funky with a parser?</p>
  
  <p>Oh yeah, forgot to mention, I want this to work for all languages. (arabic, chinese, german etc...)</p>