2009 Aug 12 6:13 AM
What will be RegEx for matches 9 digit postal codes, Eg. such as 90999-0165
a®
2009 Aug 12 6:16 AM
[does this help ? |http://software-wikipedia.blogspot.com/2009/04/handy-regular-expressions-zippostal.html]
or
@"^(\d-\d|\d|\d)$";
[Validate ZIP Codes|http://my.safaribooksonline.com/9780596802837/validation-zip]
Edited by: J@Y on Aug 11, 2009 10:19 PM
What will be RegEx for matches 9 digit postal codes, Eg. such as 90999-0165
a®
2009 Aug 12 6:16 AM
[does this help ? |http://software-wikipedia.blogspot.com/2009/04/handy-regular-expressions-zippostal.html]
or
@"^(\d-\d|\d|\d)$";
[Validate ZIP Codes|http://my.safaribooksonline.com/9780596802837/validation-zip]
Edited by: J@Y on Aug 11, 2009 10:19 PM
2009 Aug 12 6:21 AM
That worked perfectly along with cl_abap_matcher
^[0-9]{5}-[0-9]{4}$
a®
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |