Skip to content
Prev 201256 / 398503 Next

Removing "+" and "?" signs

Jorge Ivan Velez wrote:
Once you're into character classes ([....]), you might as well go all 
the way:

 > gsub("[?+]", "", x)
[1] "asdf,jkl"