qdapRegex: Regular Expression Removal, Extraction, and Replacement Tools

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.

Install the latest version of this package by entering the following in R:
AuthorJason Gray [ctb], Tyler Rinker [aut, cre]
Date of publication2017-04-09 21:29:36 UTC
MaintainerTyler Rinker <tyler.rinker@gmail.com>

View on CRAN

Man pages

bind: Add Left/Right Character(s) Boundaries

bind_or: Boundary Wrap (Bind) and 'or' Concatenate Elements

case: Upper/Lower/Title Case

c.extracted: Combines a extracted Object

cheat: A Cheat Sheet of Common Regex Task Chunks

escape: Escape Strings From Parsing

explain: Visualize Regular Expressions

grab: Grab Regular Expressions from Dictionaries

group: Group Regular Expressions

group_or: Group Wrap and 'or' Concatenate Elements

is.regex: Test Regular Expression Validity

pastex: Paste Regular Expressions

print.explain: Prints a explain object

print.extracted: Prints a extracted Object

print.regexr: Prints a regexr Object

qdapRegex: qdapRegex: Regular Expression Removal, Extraction, &...

regex_cheat: A dataset containing the regex chunk name, the regex string,...

regex_supplement: Supplemental Canned Regular Expressions

regex_usa: Canned Regular Expressions (United States of America)

rm_: Remove/Replace/Extract Function Generator

rm_abbreviation: Remove/Replace/Extract Abbreviations

rm_between: Remove/Replace/Extract Strings Between 2 Markers

rm_bracket: Remove/Replace/Extract Brackets

rm_caps: Remove/Replace/Extract All Caps

rm_caps_phrase: Remove/Replace/Extract All Caps Phrases

rm_citation: Remove/Replace/Extract Citations

rm_citation_tex: Remove/Replace/Extract LaTeX Citations

rm_city_state: Remove/Replace/Extract City & State

rm_city_state_zip: Remove/Replace/Extract City, State, & Zip

rm_date: Remove/Replace/Extract Dates

rm_default: Remove/Replace/Extract Template

rm_dollar: Remove/Replace/Extract Dollars

rm_email: Remove/Replace/Extract Email Addresses

rm_emoticon: Remove/Replace/Extract Emoticons

rm_endmark: Remove/Replace/Extract Endmarks

rm_hash: Remove/Replace/Extract Hash Tags

rm_nchar_words: Remove/Replace/Extract N Letter Words

rm_non_ascii: Remove/Replace/Extract Non-ASCII

rm_non_words: Remove/Replace/Extract Non-Words

rm_number: Remove/Replace/Extract Numbers

rm_percent: Remove/Replace/Extract Percentages

rm_phone: Remove/Replace/Extract Phone Numbers

rm_postal_code: Remove/Replace/Extract Postal Codes

rm_repeated_characters: Remove/Replace/Extract Words With Repeating Characters

rm_repeated_phrases: Remove/Replace/Extract Repeating Phrases

rm_repeated_words: Remove/Replace/Extract Repeating Words

rm_tag: Remove/Replace/Extract Person Tags

rm_time: Remove/Replace/Extract Time

rm_title_name: Remove/Replace/Extract Title + Person Name

rm_url: Remove/Replace/Extract URLs

rm_white: Remove/Replace/Extract White Space

rm_zip: Remove/Replace/Extract Zip Codes

S: Use C-style String Formatting Commands

validate: Regex Validation Function Generator


\%|\% Man page
\%+\% Man page
as_count Man page
as_numeric Man page
as_numeric2 Man page
as_time Man page
as_time2 Man page
bind Man page
bind_or Man page
c.extracted Man page
cheat Man page
escape Man page
ex_ Man page
ex_abbreviation Man page
ex_angle Man page
ex_between Man page
ex_between_multiple Man page
ex_bracket Man page
ex_bracket_multiple Man page
ex_caps Man page
ex_caps_phrase Man page
ex_citation Man page
ex_citation_tex Man page
ex_city_state Man page
ex_city_state_zip Man page
ex_curly Man page
ex_date Man page
ex_default Man page
ex_dollar Man page
ex_email Man page
ex_emoticon Man page
ex_endmark Man page
ex_hash Man page
ex_nchar_words Man page
ex_non_ascii Man page
ex_non_words Man page
ex_number Man page
ex_percent Man page
ex_phone Man page
explain Man page
ex_postal_code Man page
ex_repeated_characters Man page
ex_repeated_phrases Man page
ex_repeated_words Man page
ex_round Man page
ex_square Man page
ex_tag Man page
ex_time Man page
ex_title_name Man page
ex_transcript_time Man page
ex_twitter_url Man page
ex_url Man page
ex_white Man page
ex_white_bracket Man page
ex_white_colon Man page
ex_white_comma Man page
ex_white_endmark Man page
ex_white_lead Man page
ex_white_lead_trail Man page
ex_white_multiple Man page
ex_white_punctuation Man page
ex_white_trail Man page
ex_zip Man page
grab Man page
group Man page
group_or Man page
is.regex Man page
L Man page
package-qdapRegex Man page
pastex Man page
print.explain Man page
print.extracted Man page
print.regexr Man page
qdapRegex Man page
qdapRegex-package Man page
regex_cheat Man page
regex_supplement Man page
regex_usa Man page
rm_ Man page
rm_abbreviation Man page
rm_angle Man page
rm_between Man page
rm_between_multiple Man page
rm_bracket Man page
rm_bracket_multiple Man page
rm_caps Man page
rm_caps_phrase Man page
rm_citation Man page
rm_citation_tex Man page
rm_city_state Man page
rm_city_state_zip Man page
rm_curly Man page
rm_date Man page
rm_default Man page
rm_dollar Man page
rm_email Man page
rm_emoticon Man page
rm_endmark Man page
rm_hash Man page
rm_nchar_words Man page
rm_non_ascii Man page
rm_non_words Man page
rm_number Man page
rm_percent Man page
rm_phone Man page
rm_postal_code Man page
rm_repeated_characters Man page
rm_repeated_phrases Man page
rm_repeated_words Man page
rm_round Man page
rm_square Man page
rm_tag Man page
rm_time Man page
rm_title_name Man page
rm_transcript_time Man page
rm_twitter_url Man page
rm_url Man page
rm_white Man page
rm_white_bracket Man page
rm_white_colon Man page
rm_white_comma Man page
rm_white_endmark Man page
rm_white_lead Man page
rm_white_lead_trail Man page
rm_white_multiple Man page
rm_white_punctuation Man page
rm_white_trail Man page
rm_zip Man page
S Man page
TC Man page
U Man page
validate Man page


tests/testthat/test-c.extracted.R tests/testthat/test-rm_emoticon.R tests/testthat/test-rm_citation_tex.R tests/testthat/test-rm_date.R tests/testthat/test-group.R tests/testthat/test-rm_between_multiple.R tests/testthat/test-pastex.R tests/testthat/test-rm_hash.R tests/testthat/test-rm_.R tests/testthat/test-rm_repeated_characters.R tests/testthat/test-rm_white.R tests/testthat/test-rm_caps.R tests/testthat/test-rm_non_ascii.R tests/testthat/test-group_or.R tests/testthat/test-rm_caps_phrase.R tests/testthat/test-rm_endmark.R tests/testthat/test-as_time.R tests/testthat/test-validate.R tests/testthat/test-rm_postal_code.R tests/testthat/test-is.regex.R tests/testthat/test-S.R tests/testthat/test-grab.R tests/testthat/test-as_number.R tests/testthat/test-rm_zip.R tests/testthat/test-rm_title_name.R tests/testthat/test-as_count.R tests/testthat/test-rm_repeated_phrases.R tests/testthat/test-rm_city_state_zip.R tests/testthat/test-rm_citation.R tests/testthat/test-cheat.R tests/testthat/test-rm_between.R tests/testthat/test-rm_percent.R tests/testthat/test-rm_url.R tests/testthat/test-rm_repeated_words.R tests/testthat/test-rm_nchar_word.R tests/testthat/test-bind_or.R tests/testthat/test-rm_dollar.R tests/testthat/test-rm_email.R tests/testthat/test-escape.R tests/testthat/test-explain.R tests/testthat/test-rm_time.R tests/testthat/test-hijack.R tests/testthat/test-bind.R tests/testthat/test-rm_abbreviation.R tests/testthat/test-rm_non_words.R tests/testthat/test-rm_bracket.R tests/testthat/test-case.R tests/testthat/test-rm_phone.R tests/testthat/test-rm_city_state.R tests/testthat/test-rm_tag.R tests/testthat/test-rm_bracket_multiple.R tests/testthat/test-rm_number.R
R/rm_repeated_words.R R/utils.R R/rm_title_name.R R/rm_abbreviation.R R/c.extracted.R R/explain.R R/case.R R/rm_number.R R/rm_repeated_characters.R R/rm_time.R R/rm_zip.R R/rm_tag.R R/rm_caps_phrase.R R/rm_white.R R/rm_emoticon.R R/qdapRegex-package.R R/rm_repeated_phrases.R R/group_or.R R/is.regex.R R/rm_phone.R R/cheat.R R/rm_between.R R/escape.R R/bind_or.R R/pastex.R R/rm_citation.R R/rm_hash.R R/bind.R R/rm_.R R/print.regexr.R R/rm_non_ascii.R R/rm_citation_tex.R R/rm_caps.R R/rm_dollar.R R/rm_endmark.R R/rm_percent.R R/rm_default.R R/rm_postal_code.R R/rm_city_state.R R/group.R R/rm_non_words.R R/grab.R R/rm_date.R R/validate.R R/rm_city_state_zip.R R/rm_bracket.R R/print.extracted.R R/rm_url.R R/S.R R/rm_nchar_words.R R/rm_email.R
man/rm_postal_code.Rd man/print.extracted.Rd man/rm_emoticon.Rd man/rm_city_state_zip.Rd man/rm_citation_tex.Rd man/rm_hash.Rd man/print.regexr.Rd man/cheat.Rd man/rm_nchar_words.Rd man/rm_endmark.Rd man/rm_white.Rd man/print.explain.Rd man/group.Rd man/bind_or.Rd man/rm_repeated_characters.Rd man/validate.Rd man/grab.Rd man/rm_percent.Rd man/rm_caps.Rd man/rm_non_ascii.Rd man/regex_supplement.Rd man/rm_repeated_words.Rd man/c.extracted.Rd man/group_or.Rd man/rm_citation.Rd man/bind.Rd man/case.Rd man/rm_repeated_phrases.Rd man/explain.Rd man/rm_.Rd man/rm_dollar.Rd man/escape.Rd man/pastex.Rd man/rm_tag.Rd man/rm_title_name.Rd man/rm_default.Rd man/rm_number.Rd man/regex_usa.Rd man/rm_time.Rd man/qdapRegex.Rd man/regex_cheat.Rd man/S.Rd man/rm_date.Rd man/rm_abbreviation.Rd man/rm_phone.Rd man/rm_caps_phrase.Rd man/rm_zip.Rd man/rm_city_state.Rd man/is.regex.Rd man/rm_email.Rd man/rm_bracket.Rd man/rm_non_words.Rd man/rm_url.Rd man/rm_between.Rd

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.