Answers for "regex search ruby"

1

rails where regex

@max_draw = Drawing.where("drawing_number ~* ?", '^A\d{4}$')
Posted by: Guest on July-03-2020
1

ruby regexp match all

# use scan
"hello".scan(/l/)
Posted by: Guest on October-07-2021

Browse Popular Code Answers by Language