Well I have a string containing (actually without line breaks)
<td class="coll-1 name">
<a href="/sub/48/0/" class="icon"><i class="flaticon-divx"></i></a>
<a href="/torrent/2349324/some-stuuf-here/">SAME stuff here</a>
<span class="comments"><i class="flaticon-message"></i>1</span>
</td>
and I want an array to store the string which is split using href="
and /">
specifically. How can i do that. I have tried this out.
new_array=my_string.split(/ href=" , \/">/)
Edit:
.split(/href="/)
This works out too good but not with the other part.
.split(/\/">/)
Similarly this works too But i am unable to combine them together into 1 line.