fork(1) download
  1.  
  2. mystring <- c("000450")
  3. gsub("\\G0", "x", mystring, perl=TRUE)
Success #stdin #stdout 0.26s 39348KB
stdin
Standard input is empty
stdout
[1] "xxx450"