I have a string like:
"something | other thing / another thing"
But I need to remove all characters that can't be in a file name (like | or /) because I need to save a file with that string using node.
The real problem here is that I can't predict how this string is coming. I tried using some regex expressions that i found in internet but no success.