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.")gsub('\\s*<.*?>|[:;,]|(?<=[a-zA-Z])\\.(?=\\s|$)', '', test.string, perl=T)
Standard input is empty
[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"
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!