hello monks
i am trying to fetch multiple matches
i am getting only the first match i.e. ../../../KeyboardKeys/RetainerClip/Acer/Aspire/1400$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;
In reply to SOLVED:Regular expression fetching multiple matches by ansh batra
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |