On 17 July 2013 05:31, Niraj <[email protected]> wrote: > Hello All, > > My Reg ex is extracting two value from the response. > > Match[1][0]=u003cdiv viewId=\\\"f34a5431-d549-4f95-87be-26083bb8fb0a > Match[1][1]=\\\ > Match[1][2]=f34a5431-d549-4f95-87be-26083bb8fb0a > Match[2][0]=u003cdiv viewId=\\\"a266b3b6-5e43-441e-b8e6-0e4f42418de9 > Match[2][1]=\\\ > Match[2][2]=a266b3b6-5e43-441e-b8e6-0e4f42418de9 > > So to extract Match[1][2]=f34a5431-d549-4f95-87be-26083bb8fb0a > I have used template $1$ and Match no as 2. But in my variable i am getting > \\\ instead of f34a5431-d549-4f95-87be-26083bb8fb0a. Please let me know > what should be pattern.
It's not the pattern that is wrong; it's the template. > > Match[1][2]=f34a5431-d549-4f95-87be-26083bb8fb0a > I have used template $2$ and Match no as 2 and i am getting > a266b3b6-5e43-441e-b8e6-0e4f42418de9 which is exactly what i want. Precisely. > Thanks, > Niraj --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
