I have an expression:
name="listing_name" class="omnitureListingNameLink" id="listing-name-link-[0-9]*">([a-zA-Z0-9\-\s+&@#/%?=~_|<>'"!:;,*.]*)</span><ul class="primaryListingLinks"><li>
I am using this to get a selection of a records off a web page. Originally I used:
name="listing_name" class="omnitureListingNameLink" id="listing-name-link-[0-9]*">(.*)</span><ul class="primaryListingLinks"><li>
ir worked with QFree regex software from escape.com now I am writing it in delphi using pcre software component.
The problem is it finds the first match of the first literal then it misses all the intervening matches and matches that last leteral to the last occurance of a match. There are 40 matches on the page and it only makes one match for the expression it puts everything in between I am uing regex buddy to derive the expression.
I have put the above expression and the page on the link: http://futuremode.com.au/RegexQuestion.zip
I would really appreciate it if someone could tell me what I am doing wrong.