Skip to main content

The Magnificent Seven

  • Chapter
  • First Online:
CRAN Recipes
  • 547 Accesses

Abstract

R uses seven regular expression functions for pattern matching and replacement. If you know how to use these functions with appropriate regular expression patterns, then you have a worthy and efficient toolkit for most data science applications.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 69.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    “Regular Expressions with grep, Regexp and sub in the R Language,” accessed on February 5, 2020, www.regular-expressions.info/rlanguage.html.

  2. 2.

    “grep Function | R Documentation,” accessed on March 18, 2020, www.rdocumentation.org/packages/base/versions/3.6.2/topics/grep.

  3. 3.

    “R: Pattern Matching and Replacement,” accessed on March 18, 2020, https://stat.ethz.ch/R-manual/R-devel/library/base/html/grep.html.

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2021 The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Yarberry, W. (2021). The Magnificent Seven. In: CRAN Recipes. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-6876-6_9

Download citation

Publish with us

Policies and ethics