RegExLib.com - The first Regular Expression Library on the Web!

Please support RegExLib Sponsors

Sponsors

Expressions by User

   Displaying page 1 of 1 pages; Items 1 to 1
Title Test Details Pattern Title
Expression
^(s-|S-){0,1}[0-9]{3}\s?[0-9]{2}$
Description
Validates swedish zipcodes (postnr) with or without space between groups. With leading s- or not. Can be disconnected by removing ''(s-|S-){0,1}''.
Matches
12345 | 932 68 | S-621 46
Non-Matches
5367 | 425611 | 31 545
Author Rating: Not yet rated. Tommy Ullberg
   Displaying page 1 of 1 pages; Items 1 to 1

Copyright © 2001-2018, RegexAdvice.com | ASP.NET Tutorials