Le 03/08/2016 à 02:13, Vesta a écrit : > \1 class="bold"\2 > > How to alter this to apply <h2> </h2> tags in place of <p> </p> tags? You should try and understand the regex instead of using it as a mere magic solution. … But here you go: (<p>)([^[:lower:]]*[[:upper:]][^[:lower:]]*)(</p>) <h2>\2</h2>