Ruby, Lua, R and Awk methods for performing a global pattern substitution.
I have a column containing values of 3 strings separated by semicolons. I need to just extract the part of the …
r string gsubI'm trying to use a named capture group inside a block in Ruby. $1 still works, but I'd like to reference …
ruby regex gsubI would like to shorten the values of one column of my data.frame. Right now, each value consists of …
r string character-encoding gsub strsplit