4 lines
125 B
Kotlin
4 lines
125 B
Kotlin
package starter.utils
|
|
|
|
fun sanitizeFilename(inputName: String): String = inputName.replace("[^a-zA-Z0-9-_.]".toRegex(), "_")
|