There is no \ in the NSString value, only in the literal used to form it. The value of the NSString Produced by the literal is "jkhfjkhfds. What exactly do you need to do? What methods from NSString and/or NSRegularExpression have you tried, and what did not work in your attempted solutions? Edit your question to provide details and someone will undoubtedly help you. HTH
"why do you want to remove it?substringFromIndexorstringByTrimmingCharactersInSet\in theNSStringvalue, only in the literal used to form it. The value of theNSStringProduced by the literal is"jkhfjkhfds. What exactly do you need to do? What methods fromNSStringand/orNSRegularExpressionhave you tried, and what did not work in your attempted solutions? Edit your question to provide details and someone will undoubtedly help you. HTH