Following the Response data for a request.
<li><a href="xyzw.do?ab=1111111111110&method=abcde&maintab=D&_UID_=111Y-T00O-U00U-PCDE-ZA7C-QQ99-0I00-0550" target="_top">
Letter</a>
Following is my regex extractor values
reference name : val
regular expression : <li><a href="abcde.do?ab=(.+?)
Template : $1$
match : -1
default value : error
I want the value of ab to be extracted. In this case 1111111111110
I tried the following:
- Changed
(.+?)
to(.+)
,(\d+)
etc. - Changed
-1
as0
Above attempts doesn't give any fruitful output. I always see 'error' assigned to 'val'
Additional info: There are several <li></li>
blocks like this, but there is only one <li></li>
block that has xyzw.do
in it.