Add regex validation for group settings