Re: [R] Using regex to truncate repeating characters

2015-11-11 Thread Marc Schwartz
> On Nov 11, 2015, at 3:02 AM, Karl wrote: > > Hi all, > > I'm trying to learn how to use regex inside R. I'm far from an expert when > it comes to this, but google is my friend when it comes to finding suitable > pieces of syntax to start building from. For example, this post seems to do > wha

[R] Using regex to truncate repeating characters

2015-11-11 Thread Karl
Hi all, I'm trying to learn how to use regex inside R. I'm far from an expert when it comes to this, but google is my friend when it comes to finding suitable pieces of syntax to start building from. For example, this post seems to do what I want: http://stackoverflow.com/questions/12258622/regul