Tag Archives: Regex

Change date format using .NET Regular Expressions

You can use Regex.Replace to change the format of a date string. For example if your input string is YYYY/MM/DD but you need to change it to YYYY-MM-DD, you can use this small method: Regular expressions are unreadable as usual, … Continue reading

Posted in .net, .NET Core, c#, General .NET | Tagged , , | 1 Comment

Using Notepad++ to mask email address for GDPR reasons

With the new GDPR rules enforced in Europe, shipping log files containing personal information (including email addresses) to 3rd parties are a no-go. Unless you have a signed controller/processor agreement of course, which no one has, as this gives them legal … Continue reading

Posted in Uncategorized | Tagged , , , , | Leave a comment