Can I change the message shown by the input error when html attribute like pattern is set through attribute

enter something invalid and try submitting