Created
April 7, 2014 19:36
-
-
Save sergio1990/10037175 to your computer and use it in GitHub Desktop.
Split event name for teams names
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
"Team 1 v Team-2".scan(/([\S\s]*)\s{1}[-|v]\s{1}([\S\s]*)/) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment