regextable: Pattern-Based Text Extraction and Standardization with Lookup Tables

Extracts information from text using lookup tables of regular expressions. Each text entry is compared against all patterns, and all matching patterns and their corresponding substrings are returned. If a text entry matches multiple patterns, multiple rows are generated to capture each match. This approach enables comprehensive pattern coverage when processing large or complex text datasets.

Version: 0.1.1
Depends: R (≥ 4.1)
Imports: chk, dplyr, stringi, stringr, pbapply, stats
Suggests: kableExtra, knitr, rmarkdown, spelling, testthat (≥ 3.0.0)
Published: 2026-02-05
DOI: 10.32614/CRAN.package.regextable (may not be active yet)
Author: Shirlyn Dong [aut, cre], Devin Judge-Lord [aut]
Maintainer: Shirlyn Dong <shirlynd at umich.edu>
BugReports: https://github.com/judgelord/regextable/issues
License: MIT + file LICENSE
URL: https://github.com/judgelord/regextable, https://judgelord.github.io/regextable/
NeedsCompilation: no
Language: en-US
Materials: README
CRAN checks: regextable results

Documentation:

Reference manual: regextable.html , regextable.pdf
Vignettes: regextable (source, R code)

Downloads:

Package source: regextable_0.1.1.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): not available

Linking:

Please use the canonical form https://CRAN.R-project.org/package=regextable to link to this page.