Escape forward Slash

Advanced Renamer forum
#1 : 31/01-20 11:34
CelCh
CelCh
Posts: 1
Hello,

I am trying to remove occurrences of "(1/6)" to "(6/6)" in filenames.
In Regex Tester, it works by using this pattern:

\([1-6]\/6\)

But in Advanced Renamer I cannot find a way to match the forward slash.

https://regex101.com/r/sA7pZ0/112

Any help would be much appreciated, thank you!


31/01-20 11:34
#2 : 31/01-20 15:38
David Lee
David Lee
Posts: 343
It works for me from "Replace" and "Remove pattern" methods.
Escaping the forward slash appears to be optional - ie \([1-6]/6\) works just as well.


However "/" is an illegal character in Windows so I could only test the Regex by renaming files in a previous "New name" method.


31/01-20 15:38