Learn R Programming

⚠️There's a newer version (0.7.10) of this package.Take me there.

qdapRegex (version 0.3.2)

Regular Expression Removal, Extraction, and Replacement Tools

Description

A collection of regular expression tools associated with the 'qdap' package that may be useful outside of the context of discourse analysis. Tools include removal/extraction/replacement of abbreviations, dates, dollar amounts, email addresses, hash tags, numbers, percentages, citations, person tags, phone numbers, times, and zip codes.

Copy Link

Version

Install

install.packages('qdapRegex')

Monthly Downloads

9,376

Version

0.3.2

License

GPL-2

Maintainer

Tyler Rinker

Last Published

April 6th, 2015

Functions in qdapRegex (0.3.2)

rm_dollar

Remove/Replace/Extract Dollars
escape

Escape Strings From Parsing
rm_citation_tex

Remove/Replace/Extract LaTeX Citations
print.regexr

Prints a regexr Object
rm_time

Remove/Replace/Extract Time
rm_repeated_characters

Remove/Replace/Extract Words With Repeating Characters
pastex

Paste Regular Expressions
rm_caps

Remove/Replace/Extract All Caps
group

Group Regular Expressions
qdapRegex

qdapRegex: Regular Expression Removal, Extraction, & Replacement Tools for the qdap Package
rm_date

Remove/Replace/Extract Dates
rm_city_state_zip

Remove/Replace/Extract City, State, & Zip
is.regex

Test Regular Expression Validity
rm_bracket

Remove/Replace/Extract Brackets
rm_repeated_words

Remove/Replace/Extract Repeating Words
rm_non_ascii

Remove/Replace/Extract Non-ASCII
rm_repeated_phrases

Remove/Replace/Extract Repeating Phrases
print.explain

Prints a explain object
rm_number

Remove/Replace/Extract Numbers
group_or

Group Wrap and `or` Concatenate Elements
rm_phone

Remove/Replace/Extract Phone Numbers
rm_url

Remove/Replace/Extract URLs
cheat

A Cheat Sheet of Common Regex Task Chunks
rm_tag

Remove/Replace/Extract Person Tags
S

Use C-style String Formatting Commands
rm_postal_code

Remove/Replace/Extract Postal Codes
explain

Visualize Regular Expressions
rm_between

Remove/Replace/Extract Strings Between 2 Markers
rm_zip

Remove/Replace/Extract Zip Codes
rm_default

Remove/Replace/Extract Template
rm_email

Remove/Replace/Extract Email Addresses
rm_city_state

Remove/Replace/Extract City & State
regex_cheat

A dataset containing the regex chunk name, the regex string, and a description of what the chunk does.
rm_abbreviation

Remove/Replace/Extract Abbreviations
regex_usa

Canned Regular Expressions (United States of America)
rm_percent

Remove/Replace/Extract Percentages
rm_endmark

Remove/Replace/Extract Endmarks
rm_white

Remove/Replace/Extract White Space
regex_supplement

Supplemental Canned Regular Expressions
rm_emoticon

Remove/Replace/Extract Emoticons
grab

Grab Regular Expressions from Dictionaries
rm_title_name

Remove/Replace/Extract Title + Person Name
bind

Add Left/Right Character(s) Boundaries
rm_citation

Remove/Replace/Extract Citations
TC

Upper/Lower/Title Case
rm_hash

Remove/Replace/Extract Hash Tags
rm_

Remove/Replace/Extract Function Generator
rm_nchar_words

Remove/Replace/Extract N Letter Words
rm_caps_phrase

Remove/Replace/Extract All Caps Phrases
validate

Regex Validation Function Generator