in reply to reg ex help

Adapted from Q&A:How do I find the Nth occurrence of a pattern?:
my $hexduple = qr/\b[\da-f]{2}\b/i; my ($Nth_duple) = /(?:.*?($hexduple)){14}/;

The PerlMonk tr/// Advocate