regex and cmid form.