postwoman 提取、验证和规范化英国邮政编码
邮递员Postwoman . validate ( 'foo' ) ; // false Postwoman . validate ( 'PE129PP' ) ; // true Postwoman . validate ( 'PE12 9PP' ) ; // true Postwoman . normalise ( 'pe129pp' ) ; // PE12 9PP Postwoman . match ( 'PE12 9PP; LE4 4DR; PE12 9PP' ) ; // ['PE12 9PP', 'LE4 4DR'] Postwoman . match ( '
PE12 9PP
LE4 4DR
PE12 9PP
用户评论