Skip to content

Instantly share code, notes, and snippets.

@hoffstein
Created July 18, 2011 15:37
Show Gist options
  • Save hoffstein/1089884 to your computer and use it in GitHub Desktop.
Save hoffstein/1089884 to your computer and use it in GitHub Desktop.
Regex for matching floating point number
[-+]?[0-9]*\.?[0-9]+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment