m/[\d]{5,8}|[:alpha:]{3}[-]{1}[:alpha:]{4}/g m/[\d]{5,8}|[\D]{3}[-]{1}[\D]{4}/g [download]
In reply to reg exp by Anonymous Monk