Allow for empty replacement strings