- Here is a field value returned by web service in JSON
^\+?\d+(-\d+)*$
but when i get it, it becomes^+?d+(-d+)*$
. - But i need the original one from JSON. How to get the same from objective C.
For example : If i use NSString *string=@"^\+?\d+(-\d+)*$";
,
It shows ^+?d+(-d+)*$
in NSLog
. How to prevent this?
Thanks