http://www.perlmonks.org?node_id=1011874
ansh batra has asked for the wisdom of the Perl Monks concerning the following question:

hello monks
i am trying to fetch multiple matches

$string="<ul><li><div id='Show1400'><a href='../../../KeyboardKeys/Ret +ainerClip/Acer/Aspire/1400'>1400</a></div></li><li><div id='Show1410' +><a href='../../../KeyboardKeys/RetainerClip/Acer/Aspire/1410'>1410</ +a></div></li>"; my @ari=$line =~ /<a href=\'(.*?)\'>.*<\/a>/g;
i am getting only the first match i.e. ../../../KeyboardKeys/RetainerClip/Acer/Aspire/1400
please help