Soenneker.Utils.RegexCollection A collection of regular expressions that are generated at compile time Installation dotnet add package Soenneker.Utils.RegexCollection Usage string spacesToDashes = RegexCollection.Spaces().Replace("hello there", "-"); // "hello-there"