AInq.Helpers.PhoneNumber 2.4.0

dotnet add package AInq.Helpers.PhoneNumber --version 2.4.0
NuGet\Install-Package AInq.Helpers.PhoneNumber -Version 2.4.0
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="AInq.Helpers.PhoneNumber" Version="2.4.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AInq.Helpers.PhoneNumber --version 2.4.0
#r "nuget: AInq.Helpers.PhoneNumber, 2.4.0"
#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.
// Install AInq.Helpers.PhoneNumber as a Cake Addin
#addin nuget:?package=AInq.Helpers.PhoneNumber&version=2.4.0

// Install AInq.Helpers.PhoneNumber as a Cake Tool
#tool nuget:?package=AInq.Helpers.PhoneNumber&version=2.4.0


GitHub release (latest by date) GitHub


What is it?

Collection of simple helpers for .Net

Packages description

Nuget AInq.Helpers.Linq

Helpers for IEnumerable<T> and IAsyncEnumerable<T>

  • Batch helper - pack the given enumerable in batches with a specified maximum batch size
Nuget AInq.Helpers.Polly

Helpers library to use with Polly

  • Ready to use retry policies with logging
    • TransientRetryAsyncPolicy for transient errors
    • TimeoutRetryAsyncPolicy for HTTP 429
  • Helpers to store data in Polly.Context
  • Helpers to execute HTTP requests with Polly.IAsyncPolicy<HttpResponseMessage>
Nuget AInq.Helpers.Email

Helpers to work with email address

  • Get emails form string source
  • Check if string is correct email
  • Get specific email address parts
Nuget AInq.Helpers.PhoneNumber

Helpers to parse phone numbers from string

  • Get all valid numbers or mobile only
  • Parse one source with different regional formats at one call

This library uses libphonenumber-csharp inside


As for now documentation is provided in this document and by XML documentation inside packages.


If you find a bug, have a question or something else - you are friendly welcome to open an issue.


Copyright © 2021-2022 Anton Andryushchenko. AInq.Helpers is licensed under Apache License 2.0

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 is compatible. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Additional computed target framework(s)
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
2.4.0 370 11/29/2023
2.3.4 422 6/21/2023
2.3.3 187 5/23/2023
2.3.2 342 3/10/2023
2.3.1 366 12/3/2022
2.3.0 343 11/14/2022
2.3.0-preview.2 154 10/13/2022
2.3.0-preview.1 104 10/2/2022
2.2.2 539 8/9/2022
2.2.1 496 6/28/2022
2.2.0 473 5/11/2022
2.1.4 455 3/23/2022 427 3/18/2022 450 3/15/2022 517 2/18/2022
2.1.2 332 12/27/2021
2.1.1 333 12/17/2021
2.1.0 311 12/3/2021
2.0.0 398 11/8/2021
2.0.0-rc.3 142 11/2/2021
2.0.0-rc.2 156 10/12/2021
2.0.0-rc.1 135 10/7/2021

[ADD] .Net 8 support
[FIX] HttpClient Timeout handling in modern .Net
[UPD] Packages