Replaces '' with '_' or 'File Name' if empty
file name to sanitize
sanitized file name supported by laserfiche repository
sanitizeFileName(' | \\ trimBetweenSpecial \\ | '); // '| _ trimBetweenSpecial _ |'sanitizeFileName('fake/folder/name\\'); // 'fake/folder/name_'sanitizeFileName(' '); // 'File Name' Copy
sanitizeFileName(' | \\ trimBetweenSpecial \\ | '); // '| _ trimBetweenSpecial _ |'sanitizeFileName('fake/folder/name\\'); // 'fake/folder/name_'sanitizeFileName(' '); // 'File Name'
Replaces '' with '_' or 'File Name' if empty