// \ s matches spaces, tabs, page breaks and other whitespace characters escape
String newFileName = fileName.replaceAll("\\s*", "");
Forget their fear, record, thank you watch!
// \ s matches spaces, tabs, page breaks and other whitespace characters escape
String newFileName = fileName.replaceAll("\\s*", "");
Forget their fear, record, thank you watch!