use Regexp::Common; /$RE{number}{hex}/; [download]
In reply to Re: Matching long hex a strings by Abigail-II in thread Matching long hex a strings by gman