I would like to use regular expression to find and replace the string. In my scenario {3} and {2} are UITextField tag values. Based on the tag value, I would like to replace the respective textfield values and calculate the string value using NSExpression.
Sample Input String :
NSString *cumputedValue = @"{3}*0.42/({2}/100)^2";
Note: The textFields are created dynamically based on JSON response.