Custom Validation for use with Regex Commands