Home > Net >  [o] find replace regular expressions
[o] find replace regular expressions

Time:11-18


Thank you very much!

CodePudding user response:

Find: ^ ^/] +)
Replace: \ 1 div & gt;

CodePudding user response:

Bosses, even bother you revising
I run three times after get the following figure, is not I want the results


I want to get the following results:
1. Only move & lt; Section & gt; The beginning of the line data, the other line of data is not affected;
2. Each & lt; Section & gt; At the beginning of the line & lt;/h2 & gt; In the front of the add and only add a & lt;/div>
As shown in the figure below:

thank you

CodePudding user response:

So, need to use look around,



After two times to replace




Hope I can help to you!
  • Related