'Dot Net File Name to Replace,
How to Replace File Name from Folder structure have Multiple files want to Remove special characters in all fileName at a time.
String rep = Regex.Replace(files.Trim(), "[^A-Za-z0-9_. ]+", "");
it just make replace file name as string but and using filestream the name is goes to file but content of that jpg file is not shown
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|