Tag Archives: Regex

Convert between Pascal case, camel case, and proper case method 2 in C#

Like the previous post, Convert between Pascal case, camel case, and proper case in C#, this example shows how to use string extension methods convert strings into various case types. Thanks to Gary Winey for this version. The following ToPascalCase … Continue reading

Posted in extension methods, strings | Tagged , , , , , , , , , , , , , | Leave a comment

Use regular expressions to rename files within a date range and that match a pattern in C#

This example extends the example Use regular expressions to rename files that match a pattern in C# to let you rename files within a date range. See the previous example for most of the details. This post describes the changes … Continue reading

Posted in files, regular expressions | Tagged , , , , , , , , , , , , | Leave a comment

Use regular expressions to rename files that match a pattern in C#

This example shows how to use regular expressions to rename files. To use the program, enter a directory name and a file pattern. Also enter regular expression find and replace patterns. When you click Preview Changes, the program searches the … Continue reading

Posted in files, regular expressions | Tagged , , , , , , , , , , | 4 Comments