i wrote
$this->form_validation->set_rules(
'password',
'password',
'required|min_length[4]|max_length[8]|regex_match[/^[a-z0-9]+$/]'
);
but I want :
Password must
contain exactly 2
special characters and
2 uppercase letters
how to write ?