Skip to content

Instantly share code, notes, and snippets.

@aledpardo
Last active November 29, 2015 19:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aledpardo/1bb20cb663794c5957da to your computer and use it in GitHub Desktop.
Save aledpardo/1bb20cb663794c5957da to your computer and use it in GitHub Desktop.
Regex useful for mapping properties
find: (public)([\s]*[\S]+\ )([\S]+[\s]*[\S]+) ({ get; set; })
replace: $3 = model.$3,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment