Kdiff3 - Is it possible to filter only differences with a comment?

For some files that change continuously (game config based on yaml),
I would like to transfer only my changes and ignore the rest.

I was hoping that it would be possible to filter using comments?
In other words, search for differences but only show me those that are commented in file B.

Example that I would like to replace

{ Block Id: 20, Name: RockBlack02


{ Child DropOnDestroy
Item: CrushedStone
Count: “1,3”
Prob: 0.08
}
}

{ Block Id: 20, Name: RockBlack02


{ Child DropOnDestroy
Item: CrushedStone
Count: “6,12” #-ReUnEd @resdrop stone (build 02.26.1, def:1,3)
Prob: 0.5 #-ReUnEd @resdrop stone (build 02.26.1, def:0.08)
}
}

With a merge, there is too great a risk that unwanted changes will be transferred
or that a single character will be lost – the files are quite vulnerable in this regard.

It occurred to me that regular expressions might be helpful here, but I have little experience using them.

I use kdiff3 0.9.98 (64 bit) under Windows

I can’t use a newer version because there is a bug with 2 open files + a merge file.

You tried to use the command rsync? I am very newbie with this command but make an exact copy.

i.e. rsync -avhP /home/krovikan/ /homeCOPIA/krovikan copies all my user home to other disk, but only the new and modified files and folders). When the command is done, I make a rsync -avhP --delete /home/krovikan/ /homeCOPIA/krovikan to clear in the copy files that don’t exist in my user.

Why not use only the command rsync -avhP --delete /home/krovikan/ /homeCOPIA/krovikan to make the copy. Because with --delete, first delete files and folders and after copy the new ones.

Regards

No, I use it on Windows—what you describe looks like Linux to me.

Yes, is a Linux command. But Internet have a lot of webs and youtube tutorials to how install it.

i.e This web (in Spanish, but in English sure that are more) :

Example of youtube explanation:

Regards

I don’t quite understand what you’re getting at. I want to adjust two files that are almost identical but sometimes differ in many values so that I can transfer my own values to the latest file again and again. That’s why I need a diff program—in this case, the file with my values is outdated in terms of many other values, so merging is often not easy.