use \A \z instead of ^ $ for validation