11 Vote

Only replace whole Words in File Names

Question by Mail Request | 2022-03-14 at 17:49

If I only want to replace "fur" by "für" in a file name, but there should be no replacements within names or whole words, such as "Frankfurt", how can this be done? Is there a function such as "change only whole words" available?

ReplyPositiveNegative
2Best Answer2 Votes

For that, you can  work with regular expressions in the FileRenamer.

In the area "Changes > Name > Search and Replace":

Search for:   \bfur\b
Replace with: für
Check option "Interpret as Regular Expression"

Within regular expressions, \b stands for the beginning and the end of a word.
2022-03-15 at 19:35

ReplyPositive Negative
Reply

Related Topics

PHP: File Download Script

Tutorial | 0 Comments

Rename File to its Folder Name

Tutorial | 0 Comments

Important Note

Please note: The contributions published on askingbox.com are contributions of users and should not substitute professional advice. They are not verified by independents and do not necessarily reflect the opinion of askingbox.com. Learn more.

Participate

Ask your own question or write your own article on askingbox.com. That’s how it’s done.