Improved REGEX for identifying joined hashes and mentions.