Soenneker.Normalizers.Ein 4.0.207

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Soenneker.Normalizers.Ein --version 4.0.207
                    
NuGet\Install-Package Soenneker.Normalizers.Ein -Version 4.0.207
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Soenneker.Normalizers.Ein" Version="4.0.207" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Normalizers.Ein" Version="4.0.207" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.Normalizers.Ein" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Soenneker.Normalizers.Ein --version 4.0.207
                    
#r "nuget: Soenneker.Normalizers.Ein, 4.0.207"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Soenneker.Normalizers.Ein@4.0.207
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Soenneker.Normalizers.Ein&version=4.0.207
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Normalizers.Ein&version=4.0.207
                    
Install as a Cake Tool

Soenneker.Normalizers.Ein

alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image

Extracts nine ASCII digits from user input and formats them as XX-XXXXXXX.

Installation

dotnet add package Soenneker.Normalizers.Ein

Registration

using Soenneker.Normalizers.Ein.Registrars;

builder.Services.AddEinNormalizerAsSingleton();
// or: builder.Services.AddEinNormalizerAsScoped();

The implementation has no mutable per-call state and can be shared as a singleton.

Usage

using Soenneker.Normalizers.Ein.Abstract;

string? normalized = normalizer.Normalize("12 345 6789");
// "12-3456789"

Behavior is intentionally narrow:

Input Result
123456789 12-3456789
12-3456789 12-3456789
abc12.345.6789xyz 12-3456789
12345678 null
1234567890 null
null, empty, or whitespace null

Non-ASCII digits do not count. Non-numeric characters are ignored, the original input must be between 9 and 20 characters, and the result is null unless exactly nine digits remain.

This is formatting, not EIN verification. It does not validate IRS prefix assignments, confirm that an EIN was issued, or establish that the identifier belongs to an organization. Perform any required business verification separately.

EINs are sensitive identifiers. Avoid logging raw or normalized values, and apply appropriate access controls and retention rules when storing them.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
4.0.211 54 8/31/2026
4.0.210 55 8/31/2026
4.0.209 54 8/31/2026
4.0.208 61 8/31/2026
4.0.207 59 8/30/2026
4.0.206 61 8/30/2026
4.0.205 63 8/30/2026
4.0.204 56 8/30/2026
4.0.203 53 8/30/2026
4.0.202 55 8/30/2026
4.0.201 62 8/29/2026
4.0.200 63 8/29/2026
4.0.199 53 8/29/2026
4.0.198 55 8/29/2026
4.0.197 69 8/29/2026
4.0.196 98 8/26/2026
4.0.195 91 8/25/2026
4.0.194 83 8/25/2026
4.0.193 94 8/21/2026
4.0.192 107 8/18/2026
Loading failed

Update dependency Soenneker.Normalizers.Base to 4.0.49 (#714)