Skip to content

Instantly share code, notes, and snippets.

@timothyclifford
Created August 25, 2011 13:25
Show Gist options
  • Save timothyclifford/1170646 to your computer and use it in GitHub Desktop.
Save timothyclifford/1170646 to your computer and use it in GitHub Desktop.
C# Regex convert camel case to proper English
Regex.Replace(stringValue, "((?<=[a-z])[A-Z]|[A-Z](?=[a-z]))", " $1")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment