There is a text: h1;some text in h1;h1 . How to re using h1; before and after the text?
From comments:
We need to get the values of h1. But instead of h1 there may be other characters.
That is, you just need to "throw away" the text between these characters.
some text in h1contain;inside? - jfs