eidias 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

  • April 2018
  • October 2017
  • September 2017
  • July 2017
  • June 2017
  • May 2017
  • April 2017
  • January 2017
  • October 2016
  • September 2016
  • July 2016
  • May 2016
more

Tags

  • .net
  • ASP.NET
  • asp.net 5
  • ASP.NET MVC
  • azure
  • build
  • c#
  • Code First
  • core
  • css
  • Entity Framework
  • enums
  • fuzzy search
  • IoC
  • javascript
  • localization
  • mvc
  • mvvm
  • OData
  • Powershell
  • razor
  • testing
  • tfs
  • WCF
  • WPF
more