Add validation for regular expression property
Add UI validation for regular expression property