Soenneker.Normalizers.Ein 4.0.224

Prefix Reserved
dotnet add package Soenneker.Normalizers.Ein --version 4.0.224
                    
NuGet\Install-Package Soenneker.Normalizers.Ein -Version 4.0.224
                    
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.224" />
                    
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.224" />
                    
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.224
                    
#r "nuget: Soenneker.Normalizers.Ein, 4.0.224"
                    
#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.224
                    
#: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.224
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Normalizers.Ein&version=4.0.224
                    
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.224 0 9/9/2026
4.0.223 0 9/8/2026
4.0.222 0 9/8/2026
4.0.221 43 9/8/2026
4.0.220 61 9/7/2026
4.0.218 58 9/7/2026
4.0.217 46 9/7/2026
4.0.216 64 9/5/2026
4.0.215 48 9/4/2026
4.0.214 52 9/4/2026
4.0.213 52 9/4/2026
4.0.212 54 9/4/2026
4.0.211 87 8/31/2026
4.0.210 84 8/31/2026
4.0.209 83 8/31/2026
4.0.208 91 8/31/2026
4.0.207 89 8/30/2026
4.0.206 90 8/30/2026
4.0.205 93 8/30/2026
4.0.204 86 8/30/2026
Loading failed

Update dependency Soenneker.Extensions.String to 4.0.745 (#750)