I'm a beginner iOS developer and just starting to learn Objective-C and have a regex question. I'm implementing my app with UIWebView and I want to match a certain url and append an extra parameter to it. So here is my pseudocode.
if url has "rewards" anywhere in it
then append version number
my url is something like http://m.mydomain.com/rewards/
Any help is greatly appreciated. Thanks!