Ruby - Regular Expressions
What does the Ruby method
gsub do when used with a regular expression?gsub do when used with a regular expression?gsub purposegsub method is used to replace parts of a string that match a pattern.gsub with regex = replace all matches [OK]15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions