© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2021
W. YarberryCRAN Recipeshttps://doi.org/10.1007/978-1-4842-6876-6_4

4. Regular Expressions: Introduction

William Yarberry1  
(1)
Kingwood, TX, USA
 

First impressions of regular expressions are rarely positive. They look arcane, a throwback to the early decades of modern computing, when GUIs and object-oriented programming were a distant future. However, once you get past its look and feel, regular expressions give you serious power to search, filter, and manipulate text and numbers with speed and minimal code.

Once you reach a foundational understanding, regular expressions are often quicker to write than their equivalent R native code. You don’t need to remember ...

Get CRAN Recipes: DPLYR, Stringr, Lubridate, and RegEx in R now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.