Delete part of filename on multiple places

Advanced Renamer forum
#1 : 16/07-21 10:30
Andy
Andy
Posts: 4
Hello everyone, my problem is, that I want to delete all characters from file names that are between §AB..§ in more than one place. But so far I get an error message when §xy§ exists multiple. Tried replace and list replace
Does anyone have an idea for a working expression script
example:
§I-J§_ batch_Mainstr§A§_Port§001§
after
_batch_Mainstr_Port thanks for Ideas


16/07-21 10:30
#2 : 16/07-21 12:12
David Lee
David Lee
Posts: 1125
Remove pattern: §[^§]*§
Use regular expressions

[^§]* matches a string comprising any number of characters except §




16/07-21 12:12
#3 : 22/07-21 22:54
Andy
Andy
Posts: 4
Reply to #2:
Works great !! Thanks a lot. Sorry for late feedback....


22/07-21 22:54