I know that / is illegal in Linux, and the following are illegal in Windows (I think) * . \" / \\ [
*
.
\"
/
\\
[
For anyone looking for a regex:
const BLACKLIST = /[<>:"\/\\|?*]/g;