getting the substrings in between the given strings
<p>I am new to iphone.I have a small doubt.i placed my code below</p>

<p>//here we get the source code of this website into a string</p>

<pre><code>     NSString *string = [NSString stringWithContentsOfURL:[NSURL URLWithString:@"http://www.audiotreasure.com/indexKJV.htm"] encoding:NSUTF8StringEncoding error:nil];

     NSError *error;
     //based on the below pattern we retrieve the links to download the songs 
     NSRegularExpression *regex = [NSRegularExpression regularExpressionWithPattern:@"href=\"(.*).zip\"" options:NSRegularExpressionCaseInsensitive error:&amp;error];

     NSArray *matchesInAString = [regex matchesInString:string options:0 range:NSMakeRange(0, [string length])];

     NSLog(@"matches in a string is %@",matchesInAString);

               for (NSTextCheckingResult *match in matchesInAString) {
                        NSRange matchRange = [match range];
                        NSString *substringForAllMatches = [string substringWithRange:matchRange];
                        NSLog(@"substringForAllMatches is %@",substringForAllMatches);

                }
                    NSLog(@"all download links are %@",allDownloadLinks);

for the above code i get an output like this

"href=\"/mp3/KJV/01_Genesis/Genesis_KJV.zip\"",
    "href=\"/mp3/KJV/02_Exodus/Exodus_KJV.zip\"",
    "href=\"mp3/KJV/03_Leviticus/Leviticus_KJV.zip\"",
    "href=\"/mp3/KJV/04_Numbers/Numbers_KJV.zip\"",
    "href=\"/mp3/KJV/05_Deuteronomy/Deuteronomy_KJV.zip\"",
    "href=\"/mp3/KJV/06_Joshua/Joshua_KJV.zip\"",
    "href=\"/mp3/KJV/07_Judges/Judges_KJV.zip\"",
    "href=\"/mp3/KJV/08_Ruth/Ruth_KJV.zip\"",
    "href=\"/mp3/KJV/09_1Samuel/1Samuel_KJV.zip\"",
    "href=\"/mp3/KJV/10_2Samuel/2Samuel_KJV.zip\"",
    "href=\"/mp3/KJV/11_1Kings/1Kings_KJV.zip\"",
    "href=\"/mp3/KJV/12_2Kings/2Kings_KJV.zip\"",
    "href=\"/mp3/KJV/13_1Chronicles/1Chronicles_KJV.zip\"",
    "href=\"/mp3/KJV/14_2Chronicles/2Chronicles_KJV.zip\"",
    "href=\"/mp3/KJV/15_Ezra/Ezra_KJV.zip\"",
    "href=\"/mp3/KJV/16_Nehemiah/Nehemiah_KJV.zip\"",
    "href=\"/mp3/KJV/17_Esther/Esther_KJV.zip\"",
    "href=\"/mp3/KJV/18_Job/Job_KJV.zip\"",
    "href=\"/mp3/KJV/19_Psalms/Psalms_KJV.zip\"",
    "href=\"/mp3/KJV/20_Proverbs/Proverbs_KJV.zip\"",
    "href=\"/mp3/KJV/21_Ecc/Ecc_KJV.zip\"",
    "href=\"/mp3/KJV/22_Song/Song_KJV.zip\"",
    "href=\"/mp3/KJV/23_Isaiah/Isaiah_KJV.zip\"",
    "href=\"/mp3/KJV/24_Jeremiah/Jeremiah_KJV.zip\"",
    "href=\"/mp3/KJV/25_Lamentations/Lamentations_KJV.zip\"",
    "href=\"/mp3/KJV/26_Ezekiel/Ezekiel_KJV.zip\"",
    "href=\"/mp3/KJV/27_Daniel/Daniel_KJV.zip\"",
    "href=\"/mp3/KJV/28_Hosea/Hosea_KJV.zip\"",
    "href=\"/mp3/KJV/29_Joel/Joel_KJV.zip\"",
    "href=\"/mp3/KJV/30_Amos/Amos_KJV.zip\"",
    "href=\"/mp3/KJV/31_Obadiah/Obadiah_KJV.zip\"",
    "href=\"/mp3/KJV/32_Jonah/Jonah_KJV.zip\"",
    "href=\"/mp3/KJV/33_Micah/Micah_KJV.zip\"",
    "href=\"/mp3/KJV/34_Nahum/Nahum_KJV.zip\"",
    "href=\"/mp3/KJV/35_Habakkuk/Habakkuk_KJV.zip\"",
    "href=\"/mp3/KJV/36_Zephaniah/Zephaniah_KJV.zip\"",
    "href=\"/mp3/KJV/37_Haggai/Haggai_KJV.zip\"",
    "href=\"/mp3/KJV/38_Zechariah/Zechariah_KJV.zip\"",
    "href=\"/mp3/KJV/39_Malachi/Malachi_KJV.zip\"",
    "href=\"/mp3/KJV/40_Matthew/Matthew_KJV.zip\"",
    "href=\"/mp3/KJV/41_Mark/Mark_KJV.zip\"",
    "href=\"/mp3/KJV/42_Luke/Luke_KJV.zip\"",
    "href=\"/mp3/KJV/43_John/John_KJV.zip\"",
    "href=\"/mp3/KJV/44_Acts/Acts_KJV.zip\"",
    "href=\"/mp3/KJV/45_Romans/Romans_KJV.zip\"",
    "href=\"/mp3/KJV/46_1Corinthians/1Corinthians_KJV.zip\"",
    "href=\"/mp3/KJV/47_2Corinthians/2Corinthians_KJV.zip\"",
    "href=\"/mp3/KJV/48_Galatians/Galatians_KJV.zip\"",
    "href=\"/mp3/KJV/49_Ephesians/Ephesians_KJV.zip\"",
    "href=\"/mp3/KJV/50_Philippians/Philippians_KJV.zip\"",
    "href=\"/mp3/KJV/51_Colossians/Colossians_KJV.zip\"",
    "href=\"/mp3/KJV/52_1Thessalonians/1Thessalonians_KJV.zip\"",
    "href=\"/mp3/KJV/53_2Thessalonians/2Thessalonians_KJV.zip\"",
    "href=\"/mp3/KJV/54_1Timothy/1Timothy_KJV.zip\"",
    "href=\"/mp3/KJV/55_2Timothy/2Timothy_KJV.zip\"",
    "href=\"/mp3/KJV/56_Titus/Titus_KJV.zip\"",
    "href=\"/mp3/KJV/57_Philemon/Philemon_KJV.zip\"",
    "href=\"/mp3/KJV/58_Hebrews/Hebrews_KJV.zip\"",
    "href=\"/mp3/KJV/59_James/James_KJV.zip\"",
    "href=\"/mp3/KJV/60_1Peter/1Peter_KJV.zip\"",
    "href=\"/mp3/KJV/61_2Peter/2Peter_KJV.zip\"",
    "href=\"/mp3/KJV/62_1John/1John_KJV.zip\"",
    "href=\"/mp3/KJV/63_2John/2John_KJV.zip\"",
    "href=\"/mp3/KJV/64_3John/3John_KJV.zip\"",
    "href=\"/mp3/KJV/65_Jude/Jude_KJV.zip\"",
    "href=\"/mp3/KJV/66_Revelation/Revelation_KJV.zip\""

but i want only the string starts from the (/mp3 to .zip)the remaining part is not required for me such as ("href=\") and (\""after the .zip)so i can i retrieve the string in between this("href=\" and \"")
</code></pre>

<p>if any body know this please help me.....</p>
