Help for this page
use strict; ... # alternatively, if there are two or more and you want them all: my @matches = ( $html =~ /Marker 1(.*?)Marker 2/gs );