[Geany-Users] Regular expression, for Unicode characters

Colomban Wendling lists.ban at xxxxx
Wed Aug 3 00:20:07 UTC 2016


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>


More information about the Users mailing list