Learn R Programming

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

qdapRegex (version 0.5.1)

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.5.1

License

GPL-2

Maintainer

Tyler Rinker

Last Published

October 11th, 2015

Functions in qdapRegex (0.5.1)

rm_bracket

Remove/Replace/Extract Brackets
validate

Regex Validation Function Generator
rm_citation_tex

Remove/Replace/Extract LaTeX Citations
is.regex

Test Regular Expression Validity
bind_or

Boundary Wrap (Bind) and `or` Concatenate Elements
group_or

Group Wrap and `or` Concatenate Elements
rm_repeated_words

Remove/Replace/Extract Repeating Words
regex_supplement

Supplemental Canned Regular Expressions
rm_dollar

Remove/Replace/Extract Dollars
regex_usa

Canned Regular Expressions (United States of America)
rm_default

Remove/Replace/Extract Template
grab

Grab Regular Expressions from Dictionaries
c.extracted

Combines a extracted Object
rm_caps

Remove/Replace/Extract All Caps
qdapRegex

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

Remove/Replace/Extract Postal Codes
rm_non_ascii

Remove/Replace/Extract Non-ASCII
print.extracted

Prints a extracted Object
rm_date

Remove/Replace/Extract Dates
rm_abbreviation

Remove/Replace/Extract Abbreviations
rm_email

Remove/Replace/Extract Email Addresses
rm_phone

Remove/Replace/Extract Phone Numbers
rm_zip

Remove/Replace/Extract Zip Codes
S

Use C-style String Formatting Commands
print.explain

Prints a explain object
rm_

Remove/Replace/Extract Function Generator
regex_cheat

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

Remove/Replace/Extract Endmarks
rm_between

Remove/Replace/Extract Strings Between 2 Markers
rm_time

Remove/Replace/Extract Time
rm_hash

Remove/Replace/Extract Hash Tags
rm_city_state

Remove/Replace/Extract City & State
cheat

A Cheat Sheet of Common Regex Task Chunks
print.regexr

Prints a regexr Object
rm_number

Remove/Replace/Extract Numbers
group

Group Regular Expressions
pastex

Paste Regular Expressions
TC

Upper/Lower/Title Case
rm_percent

Remove/Replace/Extract Percentages
bind

Add Left/Right Character(s) Boundaries
explain

Visualize Regular Expressions
rm_city_state_zip

Remove/Replace/Extract City, State, & Zip
rm_citation

Remove/Replace/Extract Citations
rm_caps_phrase

Remove/Replace/Extract All Caps Phrases
rm_non_words

Remove/Replace/Extract Non-Words
rm_white

Remove/Replace/Extract White Space
rm_url

Remove/Replace/Extract URLs
rm_repeated_characters

Remove/Replace/Extract Words With Repeating Characters
rm_repeated_phrases

Remove/Replace/Extract Repeating Phrases
rm_nchar_words

Remove/Replace/Extract N Letter Words
escape

Escape Strings From Parsing
rm_emoticon

Remove/Replace/Extract Emoticons
rm_title_name

Remove/Replace/Extract Title + Person Name
rm_tag

Remove/Replace/Extract Person Tags