例如,在美国邮政编码是一个五位数,后面还可能跟有一个破折号加一个四位数。
For example, a postal code in the United States is a five-digit number, optionally followed by a dash and a four-digit number. Listing 1 shows the regular expression that describes that format.
例如,在美国邮政编码是一个五位数,后面还可能跟有一个破折号加一个四位数。
For example, a postal code in the United States is a five-digit number, optionally followed by a dash and a four-digit number. Listing 1 shows the regular expression that describes that format.
应用推荐