add replace-with as per issue-30
Merge pull request #31 from roma1n/issue-30

add replace-with as per issue #30