Hi there!
I have code like that:
Code:
<p class="text">some text</p>
<blockquote class="email">
<p class="text">some <i>text</i></p>
<p class="text"><b>some</b> text</p>
<p class="text">some text</p>
</blockquote>
<p class="text">some text</p>
And i need to change class of P tag only inside of blockquote tag.
Regex search string, like "
<blockquote class="email">(.*?)<p class="text">(.*?)</blockquote>" work only if blockquote have only one p tag.
I don't understand, how to create correct search string or even how to ask google for it.
Hope for your help. Thanks.