stephen sefick <ssefick <at> gmail.com> writes: > > #how do I break these up into first two letters (RM), number, and then > the last part > #is there an easily accessible regex tutorial on the internet?
For regular expressions, the perl man pages at <http://perldoc.perl.org/ perlre.html> are quite good and present the essentials in condensed form, but still very useful. (Some constructs may not work outside of Perl.) A more elaborate tutorial is to be found at Regular-Expressions.info, i.e. <http://www.regular-expressions.info/>. Of course, there are many, many more, see the Open Directory for one long list. And each programming language has its own page on regular expressions. At the Regular Expression Library <http://regexlib.com> you can search for and copy regular expressions, for example there are 20 patterns returned when searching for regular expressions on 'floats'. Hans Werner Borchers > v = (structure(1:122, ... > > thanks > ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.