Pandatech.RegexBox
1.2.3
See the version list below for details.
dotnet add package Pandatech.RegexBox --version 1.2.3
NuGet\Install-Package Pandatech.RegexBox -Version 1.2.3
<PackageReference Include="Pandatech.RegexBox" Version="1.2.3" />
paket add Pandatech.RegexBox --version 1.2.3
#r "nuget: Pandatech.RegexBox, 1.2.3"
// Install Pandatech.RegexBox as a Cake Addin #addin nuget:?package=Pandatech.RegexBox&version=1.2.3 // Install Pandatech.RegexBox as a Cake Tool #tool nuget:?package=Pandatech.RegexBox&version=1.2.3
Pandatech.RegexBox
Pandatech.RegexBox is a highly performant and robust C# library designed to simplify complex regex validations for various data formats. With 100% test coverage and a focus on security through a 50ms regex execution timeout, it's an ideal solution for applications requiring reliable and efficient data validation.
Usage
To use Pandatech.RegexBox, simply add a reference to the package in your project and call the desired static validation methods:
using Pandatech.RegexBox;
// URI validation
bool isValidUri = PandaValidator.IsUri("http://example.com", allowWildcards: false, allowNonSecure: true);
// US Social Security Number validation
bool isValidSsnUs = PandaValidator.IsUsSocialSecurityNumber("123-45-6789");
// Email validation
bool isValidEmail = PandaValidator.IsEmail("user@example.com");
// Username validation
bool isValidUsername = PandaValidator.IsUsername("user123");
// Armenian Social Security Number validation
bool isValidSsnAm = PandaValidator.IsArmeniaSocialSecurityNumber("12345678912");
//ArmenianIDCard validation
bool isValidArmenianIdCard = PandaValidator.IsArmeniaIdCard("AN1234567");
// Armenian Passport validation
bool isValidArmenianPassport = PandaValidator.IsArmeniaPassport("AN1234567");
// Armenian Tax code validation
bool isValidArmenianTaxCode = PandaValidator.IsArmeniaTaxCode("12345678");
// Panda Formatted Phone Number validation
bool isValidPhoneNumber = PandaValidator.IsPandaFormattedPhoneNumber("(374)94810553");
// Armenian State Registration Number validation
bool isValidArmenianStateRegistrationNumber = PandaValidator.IsArmeniaStateRegistryNumber("123.456.78");
// and many more...
License
PandaTech.RegexBox is licensed under the MIT License.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | 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. |
-
net8.0
- No dependencies.
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Pandatech.RegexBox:
Package | Downloads |
---|---|
Pandatech.Crypto
PandaTech.Crypto is a .NET library simplifying common cryptograhic functions. |
|
Pandatech.Communicator
A versatile .NET library for integrating SMS and email functionalities. Supports multiple SMS providers and easy configuration through appsettings.json or web builders, ideal for efficient and reliable messaging in any application.. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Panda phone number addition and Ip validation removal