This will give you the result you expected.
data.grep(/https?:\/\/([^\\]*)/) {|v| v.match(/https?:\/\/([^\\]*)/)[1] }
But you have to know that \
is used to escape the special char in the string.
"\\"
has only one char that is \
, "\""
has only one char that is "
.