fork download
  1. test.string <- c("This is just a <test> string. I'm trying to see, if a FN will remove certain things like </HTML tags>, periods; but not the one in ASP.net, for example.")
  2. gsub('\\s*<.*?>|[:;,]|(?<=[a-zA-Z])\\.(?=\\s|$)', '', test.string, perl=T)
Success #stdin #stdout 0.45s 22824KB
stdin
Standard input is empty
stdout
[1] "This is just a string I'm trying to see if a FN will remove certain things like periods but not the one in ASP.net for example"