I have a html with:
<p class="s5">Chapter 1 – General Information</p>
<p class="s5">Section 1 – Example</p>
<p>Some text</p>
<p class="s5">Chapter 2 – Introduction</p>
and I want to replace every <p class="s5">
tag that starts with Chapter
for <h1> ... </h1>
.
How I peform it with regex substitution in SublimeText?