eidias Switzerland | eidias Poland
eidias
  • architecture
  • azure
  • code
  • infrastructure
  • licensing
  • security
  • tools
  • web

Replace all magic string with just one regex

Today I am going to show you how to use a regular expression with back reference matching to quickly replace all occurrences of magic strings to strong type names.

By Mirek on 7/14/2017 (tags: INotifyPropertyChanged, nameof, regex, visual studio, categories: tools)

Categories

  • architecture
  • azure
  • code
  • infrastructure
  • licensing
  • security
  • tools
  • web

Archive

  • January 2024
  • March 2023
  • January 2023
  • December 2022
  • November 2022
  • September 2022
  • August 2022
  • July 2022
  • June 2022
  • May 2022
  • March 2022
  • November 2021
more

Tags

  • .net
  • ASP.NET
  • asp.net Core
  • ASP.NET MVC
  • authentication
  • azure
  • build
  • c#
  • Code First
  • core
  • css
  • ef core
  • Entity Framework
  • enums
  • fuzzy search
  • IoC
  • javascript
  • mvc
  • mvvm
  • OData
  • Powershell
  • SQL Server
  • tfs
  • WCF
  • WPF
more