WebChat: Simplified the CheckForLinks function.

It also works for multiple links now
Use `%s` instead of the space at the end of the replaced string