I've got a simple array in Notepad++:
bla.vmt"
bla.vtf"
bla_exponent.vtf"
I want to get rid of the lines ending with .vmt
and _exponent.vtf
.
notepadtext editing
I've got a simple array in Notepad++:
bla.vmt"
bla.vtf"
bla_exponent.vtf"
I want to get rid of the lines ending with .vmt
and _exponent.vtf
.
Best Answer
To remove lines ending with
.vmt
, use Search and Replace and select the Regular Expression option. Give the regular expression asThis will replace all lines that end with
.vmt
.Similarly, to replace lines ending with
_exponent.vtf
, use:as the regular expression.
The regular expression
[^%]*
means match all characters other than%
.