This lazy mtf did this find ./ -type f -exec sed -E -i 's/^setCombatParam[(](.*), (.*), (false|FALSE)[)]/setCombatParam(\1, \2, 0)/' {} \; I hope it worked XD