Addressable::setPostcodeRegex
Sets a regex that an entered postcode must match to be accepted. This can be set to NULL to disable postcode validation and allow any value.
The postcode regex defaults to only accepting numerical postcodes.
Signature
public function setPostcodeRegex(string
$regex )
Parameters
$regex
— string