strex: Extra String Manipulation Functions

There are some things that I wish were easier with the 'stringr' or 'stringi' packages. The foremost of these is the extraction of numbers from strings. 'stringr' and 'stringi' make you figure out the regular expression for yourself; 'strex' takes care of this for you. There are many other handy functionalities in 'strex'. Contributions to this package are encouraged; it is intended as a miscellany of string manipulation functions that cannot be found in 'stringi' or 'stringr'.

Version: 2.0.0
Depends: R (≥ 3.5), stringr (≥ 1.5)
Imports: checkmate (≥ 1.9.3), lifecycle, magrittr (≥ 1.5), rlang (≥ 1.0), stats, stringi (≥ 1.7.8), utils
Suggests: bench, covr, knitr, purrr, rmarkdown, spelling, testthat (≥ 3.0)
Published: 2024-01-31
DOI: 10.32614/CRAN.package.strex
Author: Rory Nolan ORCID iD [aut, cre]
Maintainer: Rory Nolan <rorynoolan at>
License: GPL-3
NeedsCompilation: yes
Language: en-US
Materials: NEWS
CRAN checks: strex results


Reference manual: strex.pdf
Vignettes: Alphordering Numbers
Argument Matching
Before and After
And/Or Detection
Important Miscellany
Numbers Within Strings


Package source: strex_2.0.0.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): strex_2.0.0.tgz, r-oldrel (arm64): strex_2.0.0.tgz, r-release (x86_64): strex_2.0.0.tgz, r-oldrel (x86_64): strex_2.0.0.tgz
Old sources: strex archive

Reverse dependencies:

Reverse imports: autothresholdr, enrichViewNet, exampletestr, filesstrings, ijtiff, macroBiome, PriceIndices, tidybins, tidygeoRSS
Reverse suggests: diffudist


Please use the canonical form to link to this page.