in reply to [Solved]: Query about regular expression
If the line you want always begins <li>average_, then match on that (according to your taste, including or excluding the <li>s from your capture) rather than trying to count <li>s.
If not, you'll have to use a more complex solution... for which you may wish to read in the regex docs about "positive look ahead" and variations.
|
|---|