Ruby - Regular Expressions
What is the output of this Ruby code?
text = "Room 101" match = text.match(/\d+/) puts match[0]
text = "Room 101" match = text.match(/\d+/) puts match[0]
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions