ftr-site-config icon indicating copy to clipboard operation
ftr-site-config copied to clipboard

Are there any wildcard for ' find_string' or 'replace_string'?

Open HolgerAusB opened this issue 2 years ago • 1 comments

Hi,

for my next project I need to replace several strings in image-paths to get rid of text-overlays.

find_string: /xxx_news_paid/images/
replace_string: /images/

find_string: /xxx_news/images/
replace_string: /images/

find_string: /xxx_magazine_paid/images/
replace_string: /images/

find_string: /xxx_magazine/images/
replace_string: /images/

The problem is, I don't know how many categories (news, magazine, ...) there are and if all of them have a '_paid' version. I tried to use several wildcard methods but it seems there are none, or?

EDIT1: I think there are only three categories on this site (#960) site, so only six replace_string. But it would be interesting, if wildcard replacing is possible

HolgerAusB avatar Mar 26 '22 10:03 HolgerAusB

Same question, I even need regular expressions in the project I want to complete... If this could be supported, more things could be done!

FSpark avatar Apr 06 '22 00:04 FSpark