WebChat: Simplified the CheckForLinks function.

It also works for multiple links now
https://[^%s] didn't work. It only took the first part of an url. https://g instead of https://github.com