Such multiple replacements can be done also on console or via a script
by utilizing PowerShell, which is already there on each Win7/Win8 PC.
Examples:
$Origin = Get-Content .\test.txt
$LineWrap = $Origin -replace "(.{72}\b )", "`$1`r`n"
$Replacement = $LineWrap -replace "code\b", "program"
Set-Content .\test-new.txt -value $Replacement