Improved RegExp for chat