adspace


how can we define Ruby regular expressions?

Answer Posted / Alok Shukla

Ruby supports regular expressions (regex) using the /regex/ pattern. For example: /d+/ matches one or more digits, and /^[a-z]/ matches any lowercase alphabet at the start of a string.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the current version of ruby on rails?

948