Fixed name matching regex for mentions

* Original name matching regex only replaced the first
  . character instead of all of them
Merge pull request #1043 from Buildstarted/dev

Fixed name matching regex for mentions