Created
November 3, 2011 15:25
-
-
Save couchoud/1336769 to your computer and use it in GitHub Desktop.
Regex Snippets
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/^([a-zA-z\s]+)\:([a-zA-Z\s]+)/$ | |
foo:bar matches ['foo:bar', 'foo', 'bar']; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment