Regular Expressions in R Front Cover

Regular Expressions in R

  • Length: 118 pages
  • Edition: 1
  • Publication Date: 2020-04-22
  • ISBN-10: B087JQXSBJ
  • Sales Rank: #174099 (See Top 100 Books)
Description

Want to use powerful regular expressions in your R code in a few days rather than a few months?

This short book will get you to regex competence quickly. With simple explanations, Regular Expressions in R lays out practical examples and techniques to speed and simplify your R code.  Take advantage of regular expression’s powerful text parsing tools.

Who this book is for

R developers, data scientists, and general R users will find condensed, ready to use regular expressions used in key R functions such as grep, gsub, regexpr, and others.  No regex knowledge needed to get started. With this book, you know that every line of code has been tested in R/RStudio.  It is second nature to search google for code you need.  Unfortunately, just looking at the code does not indicate its flavor—is it for R, Python, Java, .NET, etc.? Here, it is all R, all the time.

What you will learn

  • Regular expression syntax, specifically for R.
  • Real-world examples such as validation of credit cards/Social Security numbers and extractionand extraction of lower level subdirectories from a file path, and many others.
  • Metacharacters and character classes.
  • Escape sequences.
  • Unicode implementations.
  • Regex utilities, such as Regex Buddy and free alternatives.
  • Groups.
  • Look-forward,  look-behind syntax.
  • Annotated code, uploadable for practice and day-to-day use.
  • Concise, well organized, working examples of regex syntax and merit meta-characters.

Regular Expressions in R gets beginners up to speed and serves as a reference refresher course for the more experienced. It distills the essence of regular expressions down to  a compact, easy-to-follow book.

This handy reference will save you many hours of trial and error coding.

Start today

Spend a few hours with this book and gain skills useful for years to come. Click the buy now button and get your copy of Regular Expressions in R

To access the link, solve the captcha.