alexis009
Results
1
comments of
alexis009
replace the invalid characters in the fileName like fileName.replace( /(?:^(PRN|AUX|CLOCK\$|NUL|CON|COM\d|LPT\d|\..*)(?:\.(?=.)|$)|(?:([\x00-\x1f\\?*:\"";|/])))/g, '_')