Am working on Message based iPhone app. I have to pass numbers to Webservice if the k like a-z and A-Z i have alert the user to omit the letters from the numbers. How can i find NSString value having a-z and A-Z letters in it? Anyone please help me. Thanks in advance.
Am working on Message based iPhone app. I have to pass numbers to Webservice
Share
NSString * regexName = @”[a-zA-Z] * “;
else{NSLog”string contains numbers or special characters” ;}