R gsub a <- gsub("\\..*", "", a) \ escape the special characrer . .* means everything after . will be replaced by “” a$b <- gsub('>', '', int$V1) 删除一个特殊符号