Help for this page
use strict; use warnings; ... $yrStr =~ s{(-\d+)+(?=-)}{}g; print qq{$yrStr\n};
1992, 1994-1995, 1997-2000, 2002, 2004-2008