Find first link, hashtag or mention using a regex for post formatting

This resolves #22. But as @miguelfreitas mentiones in #30 this probably needs testing in some android browsers.