Regular expression match to the end not to selected
-
I want to do a regular expression and i use
<p><!-- [if gte mso 9]><xml>.*<![endif]--></p>
One problem is the file is
<p><!–
code
–></p>some other stuff
<p><!–
code
–></p>some other stuff
<p><!–
code
–></p>When checkbox [matches newline] is checked notepad++ select from <p><!-- (first line in file) (to last line in file that contains) --></p> How to fix it?
-
@Danek-Szczepan said in Regular expression match to the end not to selected:
notepad++ select from <p><!-- (first line in file) (to last line in file that contains) --></p> How to fix it?
Change your usage of
.*
to.*?
.Learn more starting HERE.
-
@Alan-Kilborn said in Regular expression match to the end not to selected:
@Danek-Szczepan said in Regular expression match to the end not to selected:
notepad++ select from <p><!-- (first line in file) (to last line in file that contains) --></p> How to fix it?
Change your usage of
.*
to.*?
.Learn more starting HERE.
Working, thank You !