Rename Special -> RegExp Rename...

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
wryd
Posts: 2
Joined: 25 Jan 2026 09:34

Rename Special -> RegExp Rename...

Post by wryd »

(?<=\[).*?(?=\]) >

Regular Expression Syntax Error:Syntax error in regular expression.

why?
You do not have the required permissions to view the files attached to this post.

highend
Posts: 14923
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Rename Special -> RegExp Rename...

Post by highend »

Because VBScript doesn't support lookbehind
One of my scripts helped you out? Please donate via Paypal

wryd
Posts: 2
Joined: 25 Jan 2026 09:34

Re: Rename Special -> RegExp Rename...

Post by wryd »

highend wrote: 25 Jan 2026 09:51 Because VBScript doesn't support lookbehind
Thank you. How can we achieve this here?

highend
Posts: 14923
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Rename Special -> RegExp Rename...

Post by highend »

E.g.:

Code: Select all

^(.*?\[)(.*?)(\].*?)(\.[^.]+?)$ > $2$4
or with v27.20.0304+

Code: Select all

^(.*?\[)(.*?)(\].*?)$ > $2 /b
One of my scripts helped you out? Please donate via Paypal

Post Reply