To Remove leading spaces from string
let exampleText = " \n\tHello world !"
let regex = #/^\s*/# // regex finds any \s - symbols at the begging of the string
let textWithoutSpacesInLeading = exampleText.replacing(regexSa) { _ in "" } // replace
textWithoutSpacesInLeading == "Hello world !" // true