I am having a file say text.txt having similar blocks of patterns like
<tr> I am nitesh goyal <\tr> nothing nothing <tr> I logged in stackoverflow<\tr> nothing nothing <tr> I want help to solve this <\tr> anyhting anything.
I want to take all the blocks data<\tr>.
currently i am using the regexp
I stored the file in a variable buffer
regexp "tr.*?\\tr" $buffer
But it is giving only fist block. How to take all the blocks present with the same delimiter.
Is it possible to have one block at a time and do some operations and then take second and so on.