add-replaceWordBoundary-method

Add replaceWordBoundary method
string interpolation would result in: `s"""\$1\$2$replacementString\$3"""`. not sure if that's simpler.