tok_replaceWith - process "replace * with *." statements