Created
June 19, 2017 14:33
-
-
Save matheussilvasantos/22c8d1dba2888d91e73acd897c7682db to your computer and use it in GitHub Desktop.
nasa code
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
ints = ["[3604 Available]", "[3608 Available]", "[3612 Available]", "[3615 Invoiced]"] | |
ints.grep(/Available/).map{|int|int[/\d+/].to_s} | |
"h3ll0".scan(/\d/) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment