Implement simple non-regex substitutions