I want to reverse a string each two characters with Ruby.
The input:
\"0123456789abcdef\"
The output that I expect:
\"e
"0123456789abcdef".gsub(/../, &:reverse).reverse # => "efcdab8967452301"