check arguments with regex for extract command