I need to get the expected output in ruby by using any method like scan or match.
scan
match
Input string:
"http://ift.tt/1E0RzJL"
"http://ift.tt/1FZLWZf"
Expected:
r12=1,r122=1, r1=1, r124=1
r12=1,r124=1
How can I get the expected output using regex?
Aucun commentaire:
Enregistrer un commentaire