RL Vision Knowledge Base
Support questions and answers for software by RL Vision.
Note: This is an archived discussion. Any bug, problem or suggestion mentioned here is likely to have been fixed since it was written.
Subject: Re: Regular expressions problem in 5.1
Date: Wed, 20 Dec 2006 20:14:13 +0100Hi,
I use the regular expression library that comes with Windows Scripting Host. As far as I know, it is based on the perl syntax, but it misses a few features.
As far as I know, named groups are not supported. But you can capture things with parethesis () and then recall it in the replace box using $x (where x is a number between 1 and 9).
If you read the manual, in the "replace -> regexp" section you will find a link to "RegExp.html" that explains how to do regular expressions in Flash Renamer!
I hope this helps you.
// Dan
----- Original Message -----
From: Yuri
To: *****@*****
Sent: Wednesday, December 20, 2006 2:26 PM
Subject: Regular expressions problem in 5.1
Named groups does not working.
Search string:
\[(?[-&\w]+)[]) ]\s(?[.- +&\d\sa-z]+)\s(?\d{1,2})\.(?\w{3})
Replace string:
${name} - ${eps} [${group}].${ext}
Example:
[SHS-SW] D.Gray-man 06.avi or
D.Gray-man 06 [SHS-SW].avi
Must be after:
D.Gray-man - 06 [SHS-SW].avi
I use the regular expression library that comes with Windows Scripting Host. As far as I know, it is based on the perl syntax, but it misses a few features.
As far as I know, named groups are not supported. But you can capture things with parethesis () and then recall it in the replace box using $x (where x is a number between 1 and 9).
If you read the manual, in the "replace -> regexp" section you will find a link to "RegExp.html" that explains how to do regular expressions in Flash Renamer!
I hope this helps you.
// Dan
----- Original Message -----
From: Yuri
To: *****@*****
Sent: Wednesday, December 20, 2006 2:26 PM
Subject: Regular expressions problem in 5.1
Named groups does not working.
Search string:
\[(?
Replace string:
${name} - ${eps} [${group}].${ext}
Example:
[SHS-SW] D.Gray-man 06.avi or
D.Gray-man 06 [SHS-SW].avi
Must be after:
D.Gray-man - 06 [SHS-SW].avi