Working on regex's for checking command formats