Foundation NSRegularExpression
replacementStringForResult:inString:offset:template:
Click here for Apple Developer Documentation details.
For information about Objective-C Internationalization, click here.