Package: qdapRegex 0.7.8

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.

Authors:Jason Gray [ctb], Tyler Rinker [aut, cre]

qdapRegex_0.7.8.tar.gz
qdapRegex_0.7.8.zip(r-4.5)qdapRegex_0.7.8.zip(r-4.4)qdapRegex_0.7.8.zip(r-4.3)
qdapRegex_0.7.8.tgz(r-4.4-any)qdapRegex_0.7.8.tgz(r-4.3-any)
qdapRegex_0.7.8.tar.gz(r-4.5-noble)qdapRegex_0.7.8.tar.gz(r-4.4-noble)
qdapRegex_0.7.8.tgz(r-4.4-emscripten)qdapRegex_0.7.8.tgz(r-4.3-emscripten)
qdapRegex.pdf |qdapRegex.html
qdapRegex/json (API)

# Install 'qdapRegex' in R:
install.packages('qdapRegex', repos = c('https://trinker.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/trinker/qdapregex/issues

Datasets:
  • regex_cheat - A dataset containing the regex chunk name, the regex string, and a description of what the chunk does.
  • regex_supplement - Supplemental Canned Regular Expressions
  • regex_usa - Canned Regular Expressions

On CRAN:

qdapregexregular-expression

122 exports 50 stars 9.47 score 1 dependencies 38 dependents 2 mentions 488 scripts 10.6k downloads

Last updated 12 months agofrom:d2a64767c5. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 12 2024
R-4.5-winOKOct 12 2024
R-4.5-linuxOKOct 12 2024
R-4.4-winOKOct 12 2024
R-4.4-macOKOct 12 2024
R-4.3-winOKOct 12 2024
R-4.3-macOKOct 12 2024

Exports:%+%%|%as_countas_numericas_numeric2as_timeas_time2bindbind_orcheatescapeex_ex_abbreviationex_angleex_betweenex_between_multipleex_bracketex_bracket_multipleex_capsex_caps_phraseex_citationex_citation_texex_city_stateex_city_state_zipex_curlyex_dateex_defaultex_dollarex_emailex_emoticonex_endmarkex_hashex_nchar_wordsex_non_asciiex_non_wordsex_numberex_percentex_phoneex_postal_codeex_repeated_charactersex_repeated_phrasesex_repeated_wordsex_roundex_squareex_tagex_timeex_title_nameex_transcript_timeex_twitter_urlex_urlex_whiteex_white_bracketex_white_colonex_white_commaex_white_endmarkex_white_leadex_white_lead_trailex_white_multipleex_white_punctuationex_white_trailex_zipexplaingrabgroupgroup_oris.regexLpastexrm_rm_abbreviationrm_anglerm_betweenrm_between_multiplerm_bracketrm_bracket_multiplerm_capsrm_caps_phraserm_citationrm_citation_texrm_city_staterm_city_state_ziprm_curlyrm_daterm_defaultrm_dollarrm_emailrm_emoticonrm_endmarkrm_hashrm_nchar_wordsrm_non_asciirm_non_wordsrm_numberrm_percentrm_phonerm_postal_coderm_repeated_charactersrm_repeated_phrasesrm_repeated_wordsrm_roundrm_squarerm_tagrm_timerm_title_namerm_transcript_timerm_twitter_urlrm_urlrm_whiterm_white_bracketrm_white_colonrm_white_commarm_white_endmarkrm_white_leadrm_white_lead_trailrm_white_multiplerm_white_punctuationrm_white_trailrm_zipSTCUvalidate

Dependencies:stringi

Readme and manuals

Help Manual

Help pageTopics
Add Left/Right Character(s) Boundariesbind
Boundary Wrap (Bind) and `or` Concatenate Elementsbind_or
Combines a extracted Objectc.extracted
A Cheat Sheet of Common Regex Task Chunkscheat
Escape Strings From Parsingescape
Visualize Regular Expressionsexplain
Grab Regular Expressions from Dictionariesgrab
Group Regular Expressionsgroup
Group Wrap and `or` Concatenate Elementsgroup_or
Test Regular Expression Validityis.regex
Paste Regular Expressions%+% %|% pastex
Prints a explain objectprint.explain
Prints a extracted Objectprint.extracted
Prints a regexr Objectprint.regexr
qdapRegex: Regular Expression Removal, Extraction, & Replacement Tools for the 'qdap' Packagepackage-qdapRegex qdapRegex
A dataset containing the regex chunk name, the regex string, and a description of what the chunk does.regex_cheat
Supplemental Canned Regular Expressionsregex_supplement
Canned Regular Expressions (United States of America)regex_usa
Remove/Replace/Extract Function Generatorex_ rm_
Remove/Replace/Extract Abbreviationsex_abbreviation rm_abbreviation
Remove/Replace/Extract Strings Between 2 Markersex_between ex_between_multiple rm_between rm_between_multiple
Remove/Replace/Extract Bracketsex_angle ex_bracket ex_bracket_multiple ex_curly ex_round ex_square rm_angle rm_bracket rm_bracket_multiple rm_curly rm_round rm_square
Remove/Replace/Extract All Capsex_caps rm_caps
Remove/Replace/Extract All Caps Phrasesex_caps_phrase rm_caps_phrase
Remove/Replace/Extract Citationsas_count ex_citation rm_citation
Remove/Replace/Extract LaTeX Citationsex_citation_tex rm_citation_tex
Remove/Replace/Extract City & Stateex_city_state rm_city_state
Remove/Replace/Extract City, State, & Zipex_city_state_zip rm_city_state_zip
Remove/Replace/Extract Datesex_date rm_date
Remove/Replace/Extract Templateex_default rm_default
Remove/Replace/Extract Dollarsex_dollar rm_dollar
Remove/Replace/Extract Email Addressesex_email rm_email
Remove/Replace/Extract Emoticonsex_emoticon rm_emoticon
Remove/Replace/Extract Endmarksex_endmark rm_endmark
Remove/Replace/Extract Hash Tagsex_hash rm_hash
Remove/Replace/Extract N Letter Wordsex_nchar_words rm_nchar_words
Remove/Replace/Extract Non-ASCIIex_non_ascii rm_non_ascii
Remove/Replace/Extract Non-Wordsex_non_words rm_non_words
Remove/Replace/Extract Numbersas_numeric as_numeric2 ex_number rm_number
Remove/Replace/Extract Percentagesex_percent rm_percent
Remove/Replace/Extract Phone Numbersex_phone rm_phone
Remove/Replace/Extract Postal Codesex_postal_code rm_postal_code
Remove/Replace/Extract Words With Repeating Charactersex_repeated_characters rm_repeated_characters
Remove/Replace/Extract Repeating Phrasesex_repeated_phrases rm_repeated_phrases
Remove/Replace/Extract Repeating Wordsex_repeated_words rm_repeated_words
Remove/Replace/Extract Person Tagsex_tag rm_tag
Remove/Replace/Extract Timeas_time as_time2 ex_time ex_transcript_time rm_time rm_transcript_time
Remove/Replace/Extract Title + Person Nameex_title_name rm_title_name
Remove/Replace/Extract URLsex_twitter_url ex_url rm_twitter_url rm_url
Remove/Replace/Extract White Spaceex_white ex_white_bracket ex_white_colon ex_white_comma ex_white_endmark ex_white_lead ex_white_lead_trail ex_white_multiple ex_white_punctuation ex_white_trail rm_white rm_white_bracket rm_white_colon rm_white_comma rm_white_endmark rm_white_lead rm_white_lead_trail rm_white_multiple rm_white_punctuation rm_white_trail
Remove/Replace/Extract Zip Codesex_zip rm_zip
Use C-style String Formatting CommandsS
Upper/Lower/Title CaseL TC U
Regex Validation Function Generatorvalidate