September 2009
Beginner
942 pages
85h 34m
English
gsub
gsub(regex,str[,target])
Globally substitute str for each match of the regular expression regex in the string target. If target is not supplied, defaults to $0. Return the number of substitutions. Use & in the replacement string to stand for the text matched by the pattern.