Stefan wrote:Don't use "nsrs|gem" only
but "(nsrs|gem)"
By my sense that shouldn't make any difference, since the pattern is just 2 chars longer with the brackets, starting/ending before/after them.
---------------------
soulBit wrote:I was just about to post on the forum with this as a bug too, till I saw this post - then it hit me! I was thinking about
removing something, but really you want to be thinking about
what you want to keep.
E.G: I want to remove
- Code: Select all
[Bleachverse]_
from
- Code: Select all
[Bleachverse]_BLEACH_275.avi
The regex you want is not just
- Code: Select all
\[Bleachverse\]
but
- Code: Select all
\[Bleachverse\]_(.*)
with
- Code: Select all
\1
in the "replace" field.
Well, that makes sense for some degree, but doesn't work right way ...
For testing I
1) made a "New Notepad++ Document.txt" file
2) put "
(New )*" in Match field of
RegEx (1) frame (without quotes)
3) put "
\1" in Replace field of
RegEx (1) frame (without quotes)
and the New Name column says the name would be "
New .txt" (without quotes). If I switch '1' from the Replace with 2, the name would become same as what is in Replace.