Created
August 10, 2023 18:22
-
-
Save idiotandrobot/11ef0474fd01af49abd0bbfce243ef9c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Regex illegalInFileName = new Regex(@"[\\/:*?""<>|]"); | |
string myString = illegalInFileName.Replace(myString, ""); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment