Re: a regex

What exactly do you want from the regex?

Do you want to split the string into 3 variables?

i.e. string = 2006%2F10%2Fasdfasdf
year = 2006
day = 10
text = asdfasdf

Or are you wanting to find a regex that would match everything but the
%2F?

Gem

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs