Improved chat URL regex to match more urls

The url regex should match more complex URL that contains special characters