Changed the regular expression pattern to avoid interference with angularjs