Something like the following untested line might help...
s!(href=\"\./\d+\.html">)(.+)(</a>)!$1.splice(@array, rand(@array), 1) +.$3!ge
-sauoq "My two cents aren't worth a dime.";
In reply to Re: Regex partial substitution from array
by sauoq
in thread Regex partial substitution from array
by pseudosocrates
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |