by Luuk » Sat Jul 30, 2022 8:32 am
Replace(3) will not grant saying any regular expressions, so the "Replace" and "With" would need to look more like...
KaRAjan|KARAJAN|kArajaN|kaRaJan|KarajaN|KaRajan|...
karajan
But with Regex(1), the "Match" and "Replace" can look many different ways, like...
(.*)[kK][aR][rR][aA][jJ][aA][nN](.*)
\1karajan\2
(.*)(?i)karajan(.*)
\1karajan\2
If putting a checkmark inside of "v2", then you only have to match the parts that you want to change, so more like...
(?i)karajan
karajan
(?i)(karajan)
\L$1
The (?i) says to match either case, and \L says to lowercase everything that was matched.
The (?i) can also be turned off with (?-i) if its no longer to be needed inside of the "Match".