📅  最后修改于: 2022-03-11 15:01:00.049000             🧑  作者: Mango
extension String {
func convertToValidFileName() -> String {
let invalidFileNameCharactersRegex = "[^a-zA-Z0-9_]+"
let fullRange = startIndex..