Hi @Swagatika Panigarhi,
You can achieve this by calling microflow in the save button, By adding RegEx & Validation to the Pin Code attribute.
FYR : Please see the below attached Images.
You can use regular expression to validate the input given by the users