#!/usr/bin/perl # http://perlmonks.org/?node_id=1142838 use strict; use warnings; $| = 1; $_ = join '', ; my ($fourth) = /(?:.*?
  • (.*?)<\/li>){4}/s; print "$fourth\n"; __DATA__