$_ = "1122a44"; while( m/\G(\d\d)/gc ) { print "Found $1\n"; }