Fix utf8 error by using regex dot instead of utf8 char