Skip to content

Instantly share code, notes, and snippets.

@corysimmons
Created October 5, 2013 23:46
Show Gist options
  • Save corysimmons/6847479 to your computer and use it in GitHub Desktop.
Save corysimmons/6847479 to your computer and use it in GitHub Desktop.
Regex to grab the period before words (classes) but not numbers (floats).
(?!.*(?:\b\d+(?:\.\d+)?))\.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment