add-replaceWordBoundary-method

Add replaceWordBoundary method