nregex

Nregex

nregex is a regular expression library for .NET. It provides a fluent interface for building and using regular expressions, with features like named capture groups, substitution, and more.
nregex screenshot

nregex: Regular Expression Library for .NET

A powerful and easy-to-use regular expression library for building and using regex patterns in your .NET applications, with features like named capture groups and substitution.

What is Nregex?

nregex is a regular expression library designed for .NET. It provides a powerful, easy-to-use API for working with regular expressions in .NET applications.

Some key features of nregex include:

  • Fluent interface for building regular expressions using a builder pattern
  • Named capture groups for improved readability and maintenance
  • Substitution/replace methods with support for lambdas and named captures
  • Strongly typed result objects
  • Multitargeting support for .NET Framework, .NET Core, .NET 5+ and .NET Standard 2.0+
  • High performance through caching and compilation of expressions
  • Full Unicode support
  • Integrations with popular JSON serialization libraries like Json.NET

nregex aims to make working with complex regular expressions simple in .NET. The fluent builder interface avoids hard-to-read giant regex strings. Features like named captures and substitition make regex code more readable and maintainable. And performance remains fast through caching and compilation techniques.

If you work with regular expressions in .NET, nregex is worth considering to make your development easier while keeping high performance.

Nregex Features

Features

  1. Fluent interface for building regular expressions
  2. Named capture groups
  3. Substitution
  4. Splitting
  5. Replacement
  6. Escaping
  7. Anchors
  8. Character classes
  9. Quantifiers
  10. Lookaround assertions

Pricing

  • Open Source

Pros

Fluent API makes building complex regex easy

Good performance

Open source

Active development

Wide platform support (.NET, .NET Core, Xamarin)

Cons

Less widely used than other .NET regex libraries

Lacks some advanced regex features

Documentation could be more extensive

Reviews & Ratings

Login to Review
No reviews yet

Be the first to share your experience with nregex!

Login to Review

The Best Nregex Alternatives

Top Development and Libraries & Frameworks and other similar apps like Nregex


Hyperscan icon

Hyperscan

Hyperscan is an open-source, high-performance regular expression matching library created by Intel. It allows software developers to build high-speed pattern matching applications by taking advantage of the parallelism and vector processing capabilities of modern processors.Hyperscan works by compiling regular expressions into executable code rather than interpreting them at runtime. This...
Hyperscan image
Oniguruma icon

Oniguruma

Oniguruma is an open source regular expression library started in 2002 by K.Kosako for use in Ruby. It has since been ported to many other programming languages thanks to its speed, consistency of behavior across languages, and Unicode support.Some key features of Oniguruma include:Very fast matching speeds that can outperform...
Oniguruma image
Perl Compatible Regular Expressions icon

Perl Compatible Regular Expressions

Perl Compatible Regular Expressions (PCRE) is a software library written in C that implements regular expression pattern matching with the same syntax and semantics as Perl 5. PCRE was originally developed by Philip Hazel and is now maintained by a team of developers on GitHub.Some key features of PCRE include:Support...
Perl Compatible Regular Expressions image