I have a string like @"(256) 435-8115" or @"256-435-81-15". I need only the digits (this is a phone number). Is this possible? I haven’t found an NSString method to do that.
I have a string like @(256) 435-8115 or @256-435-81-15 . I need only the
Share
I think there is much simpler way: