diff --git a/includes/class-wc-validation.php b/includes/class-wc-validation.php index d28428aa6b2..5a45fd7d4b3 100644 --- a/includes/class-wc-validation.php +++ b/includes/class-wc-validation.php @@ -79,6 +79,9 @@ class WC_Validation { case 'IE': $valid = (bool) preg_match( '/([AC-FHKNPRTV-Y]\d{2}|D6W)[0-9AC-FHKNPRTV-Y]{4}/', wc_normalize_postcode( $postcode ) ); break; + case 'IN': + $valid = (bool) preg_match( '/^[1-9]{1}[0-9]{2}\s{0,1}[0-9]{3}$/', $postcode ); + break; case 'JP': $valid = (bool) preg_match( '/^([0-9]{3})([-]?)([0-9]{4})$/', $postcode ); break;