in reply to searching for one or more instances of text between tags
For sure it should be possible. Not using one regexp though.
But I think, you'd need to specify better what you regard "the same code block".
But most importantly: Try consider using one of the modules created for parsing HTML/XML for tasks like this. I have learned that, in the long run, it is worth the additional effort of installing and learning it.
|
|---|