Use regex instead of replace to match in different cases
Display constraint_type field to all constraint forms