Czlovek.Strings 1.0.10

There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Czlovek.Strings --version 1.0.10
                    
NuGet\Install-Package Czlovek.Strings -Version 1.0.10
                    
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="Czlovek.Strings" Version="1.0.10" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Czlovek.Strings" Version="1.0.10" />
                    
Directory.Packages.props
<PackageReference Include="Czlovek.Strings" />
                    
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 Czlovek.Strings --version 1.0.10
                    
#r "nuget: Czlovek.Strings, 1.0.10"
                    
#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 Czlovek.Strings@1.0.10
                    
#: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=Czlovek.Strings&version=1.0.10
                    
Install as a Cake Addin
#tool nuget:?package=Czlovek.Strings&version=1.0.10
                    
Install as a Cake Tool

String Regex Extensions

This code contains extension methods that allow you to easily work with regular expressions on strings.

IsMatch()

This method determines whether the specified regular expression matches the entire input string.

Parameters
  • self (string): The input string to be tested.
  • pattern (string): The regular expression pattern to match against.
  • options (RegexOptions): A bitwise combination of the enumeration values that modify the regular expression.
Return Value

This method returns a boolean value indicating whether the regular expression found a match.

Match()

This method searches the specified input string for the first occurrence of the specified regular expression.

Parameters
  • self (string): The input string to be searched.
  • pattern (string): The regular expression pattern to match against.
  • options (RegexOptions): A bitwise combination of the enumeration values that modify the regular expression.
Return Value

This method returns a Match object that contains information about the match.

Replace()

This method replaces all strings that match a specified regular expression with a specified replacement string.

Parameters
  • self (string): The input string to be searched.
  • pattern (string): The regular expression pattern to match against.
  • replacement (string): The replacement string to use.
  • options (RegexOptions): A bitwise combination of the enumeration values that modify the regular expression.
Return Value

This method returns a new string that is identical to the input string, except that the replacement string takes the place of each matched string.

Usage

To use these extension methods, first ensure that your code includes a reference to the System.Text.RegularExpressions namespace. Then, call the methods as shown below:

using System.Text.RegularExpressions;

string myString = "The quick brown fox jumps over the lazy dog.";

// Using IsMatch()
bool isMatch = myString.IsMatch("brown");

// Using Match()
Match match = myString.Match("q.*k");

// Using Replace()
string replacedString = myString.Replace("fox", "cat");

In the examples above, IsMatch() returns true because the string "brown" is present in the input string, Match() returns a Match object containing information about the match "quick", and Replace() returns a new string with "fox" replaced with "cat".

Product Compatible and additional computed target framework versions.
.NET 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 was computed.  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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  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.
  • net7.0

    • No dependencies.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on Czlovek.Strings:

Package Downloads
Czlovek.Json

Provides extension methods for serializing and deserializing objects using JSON.

Czlovek.DateTime

Contains methods for converting between Unix timestamps and DateTime objects.

Czlovek.Validators

Provides extension methods for validating email and phone numbers on string objects.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.1.0-beta.59 132 8/13/2025
2.1.0-beta.58 118 8/13/2025
2.1.0-beta.57 121 8/13/2025
2.1.0-beta.56 120 8/12/2025
2.1.0-beta.55 117 8/12/2025
2.1.0-beta.54 120 8/10/2025
2.1.0-beta.53 115 8/10/2025
2.1.0-beta.52 115 8/10/2025
2.1.0-beta.51 87 8/9/2025
2.1.0-beta.50 86 8/9/2025
2.1.0-beta.49 88 8/9/2025
2.1.0-beta.48 92 8/9/2025
2.1.0-beta.47 95 8/9/2025
2.1.0-beta.46 136 7/29/2025
2.1.0-beta.45 92 7/29/2025
2.1.0-beta.44 91 7/29/2025
2.1.0-beta.43 100 7/5/2025
2.1.0-beta.42 118 6/23/2025
2.1.0-beta.41 80 6/6/2025
2.1.0-beta.40 63 6/6/2025
2.1.0-beta.38 151 6/3/2025
2.1.0-beta.37 130 5/27/2025
2.1.0-beta.36 66 5/10/2025
2.1.0-beta.35 50 5/10/2025
2.1.0-beta.34 49 5/10/2025
2.1.0-beta.33 205 4/10/2025
2.1.0-beta.32 141 4/9/2025
2.1.0-beta.31 140 4/9/2025
2.1.0-beta.30 134 4/9/2025
2.1.0-beta.29 143 4/9/2025
2.1.0-beta.28 176 3/11/2025
2.1.0-beta.27 170 3/9/2025
2.1.0-beta.26 107 3/8/2025
2.1.0-beta.25 119 3/8/2025
2.1.0-beta.24 199 3/6/2025
2.1.0-beta.23 185 3/4/2025
2.1.0-beta.22 180 3/4/2025
2.1.0-beta.21 101 2/23/2025
2.1.0-beta.20 74 2/22/2025
2.1.0-beta.19 63 2/22/2025
2.1.0-beta.18 76 2/22/2025
2.1.0-beta.17 70 2/22/2025
2.1.0-beta.16 62 2/22/2025
2.1.0-beta.15 76 2/22/2025
2.1.0-beta.14 74 2/22/2025
2.1.0-beta.13 71 2/22/2025
2.1.0-beta.12 78 2/22/2025
2.1.0-beta.11 91 2/21/2025
2.1.0-beta.10 83 2/20/2025
2.1.0-beta.9 73 1/20/2025
2.1.0-beta.8 79 1/20/2025
2.1.0-beta.7 68 1/20/2025
2.1.0-beta.6 69 1/20/2025
2.1.0-beta.5 79 1/19/2025
2.1.0-beta.4 64 1/19/2025
2.1.0-beta.3 69 1/19/2025
2.1.0-beta.2 59 1/19/2025
2.1.0-beta.1 62 1/19/2025
2.0.0-beta.8 194 8/25/2024
2.0.0-beta.7 220 6/11/2024
2.0.0-beta.5 68 6/11/2024
2.0.0-beta.4 77 6/10/2024
2.0.0-beta.3 81 5/19/2024
2.0.0-beta.2 759 2/7/2024
2.0.0-beta.1 96 1/18/2024
1.0.11-beta.40 161 12/17/2023
1.0.11-beta.39 104 12/10/2023
1.0.11-beta.38 110 11/26/2023
1.0.11-beta.37 89 11/26/2023
1.0.11-beta.36 87 11/25/2023
1.0.11-beta.35 86 11/25/2023
1.0.11-beta.34 86 11/25/2023
1.0.11-beta.33 93 11/25/2023
1.0.11-beta.32 93 11/25/2023
1.0.11-beta.31 92 11/23/2023
1.0.11-beta.30 101 11/18/2023
1.0.11-beta.29 87 11/17/2023
1.0.11-beta.28 85 11/17/2023
1.0.11-beta.27 80 11/16/2023
1.0.11-beta.26 86 11/16/2023
1.0.11-beta.25 91 11/16/2023
1.0.11-beta.24 111 11/1/2023
1.0.11-beta.23 89 10/31/2023
1.0.11-beta.22 153 9/11/2023
1.0.11-beta.21 113 9/10/2023
1.0.11-beta.20 170 8/26/2023
1.0.11-beta.19 126 8/18/2023
1.0.11-beta.18 127 8/17/2023
1.0.11-beta.17 105 8/17/2023
1.0.11-beta.16 108 8/17/2023
1.0.11-beta.15 103 8/17/2023
1.0.11-beta.14 117 8/15/2023
1.0.11-beta.13 123 8/11/2023
1.0.11-beta.12 169 8/11/2023
1.0.11-beta.11 132 8/3/2023
1.0.11-beta.10 129 8/1/2023
1.0.11-beta.9 127 7/11/2023
1.0.11-beta.8 117 7/11/2023
1.0.11-beta.7 122 7/11/2023
1.0.11-beta.6 126 5/16/2023
1.0.11-beta.5 121 5/16/2023
1.0.11-beta.4 120 5/16/2023
1.0.11-beta.3 122 5/16/2023
1.0.11-beta.2 118 5/16/2023
1.0.11-beta.1 122 5/14/2023
1.0.10 1,232 4/11/2023
1.0.10-beta.2 134 4/11/2023
1.0.10-beta.1 140 3/22/2023
1.0.9 363 3/22/2023
1.0.8 379 3/19/2023
1.0.7 363 3/19/2023
1.0.6 398 3/16/2023
1.0.6-beta.1 126 3/16/2023
1.0.5 400 3/16/2023
1.0.4 376 3/12/2023