Nederlandse Regex Bibliotheek
De ultieme regex playground voor Nederlandse developers
Test Patterns
View Documentation
Dutch Data Examples
Copy-paste validated expressions for Belgian and Dutch standards. Optimized for strict locale matching and zero false positives.
BSN / Citizen Service Number
Pattern: ^(?!000000000|0000000000|900000000|999999999)\d{9}$ β Validates the 9-digit BSN with Elgamal checksum logic. Excludes reserved numbers like 000000000 and 999999999. Used by UWV and municipal services.
Dutch Postal Code
Pattern: ^[1-9]\d{3}\s?(?!sa|sd|ss)[a-z]{2}$ β Matches the standard 4-digit + 2-letter format. Automatically strips whitespace and filters out reserved postal code ranges (SA, SD, SS).
Dutch Mobile & Landline
Pattern: ^(\+31|0031|0)\s?[69]\d{8}$ β Covers +31 international prefix, 0031 alternative, and domestic 0 prefix. Validates 9-digit mobile (6) and landline (9) sequences.
RSIN / Chamber of Commerce
Pattern: ^[0-9]{8}[A-Z]$ β Matches the 8-digit numeric sequence followed by a single uppercase letter. Strictly enforces KVK registration format used in DigiD flows.
Pattern Categories
Organized collections for government, finance, logistics, and healthcare data validation.
Government & Identity
BSN, RSIN, DigiD session IDs, and municipal registration codes. Includes validation for Elgamal and KVK checksums.
Logistics & Addressing
Dutch postal codes, PAKS parcel tracking numbers, and BPost routing sequences. Optimized for shipment label generators.
Financial & Healthcare
IBAN (NL), BIC/SWIFT codes, BIG registry numbers, and ZVW policy identifiers. Compliant with Dutch banking and healthcare standards.