0 votes
in PHP by

^[0-9]{5}(\-[0-9]{4})?$ matches

A) 90001 and 90002-4323
B) 9001 and 12-4321

1 Answer

0 votes
by

90001 and 90002-4323

Related questions

0 votes
asked Mar 19, 2020 in PHP by DavidAnderson
0 votes
asked Jan 23, 2020 in Data Science by AdilsonLima
+1 vote
asked Jan 30, 2022 in Python by sharadyadav1986
...