function removeTemplatedPath(path) {
    return path.replace(/\[(chunkhash|contenthash|hash)(:\d?)?\]\./g, '');
}
remove templatedPath which contains [hash] [chunkhash] and [contenthash] in filenames

@param {string} path original path
@return {string} path path without templated path