Added regex for emails and links

Replaced the old check for emails and links with regexs. This should
fix issues 16 & 17.
Merge pull request #19 from philplckthun/master

Added regex for emails and links