Search code examples
iphoneobjective-cregexregexkitlite

regexkitlite match?


i would like to get everything inbetween &v= and "> using a regex expression,

NSString *YouTubeRegex =  @"/amp;v=([^(\">)]+)/";  

But that regex is not returning any matches ? i know the coding is correct just not the regex expression any help ?

Thanks


Solution

  • Try this :

    /amp;v=(.+?)">/
    

    http://www.rubular.com/r/Lqb63CsN2p