in reply to Match number with commas
use Regexp::Common; if ($tag =~ /^$RE{num}{int}{-sep => ','}$/) { ... } [download]
Abigail