![]()
qdapRegex is a collection of regex tools associated with the qdap package that may be useful outside of the context of discourse analysis. Tools include removal/extraction/replacement of emails addresses, person tags, hash tags, dollar amounts, percentages, times, zip codes, and phone numbers.
Download the development version of qdapRegex here
Function for removing/extracting/replacing text using regular expressions.
rm_defaultrm_rm_abbreviationrm_betweenrm_between_multiplerm_bracketrm_anglerm_bracket_multiplerm_curlyrm_roundrm_squarerm_capsrm_caps_phraserm_citationrm_citation_texrm_city_staterm_city_state_ziprm_daterm_dollarrm_emailrm_emoticonrm_endmarkrm_hashrm_nchar_wordsrm_non_asciirm_non_wordsrm_number as_numeric as_numeric2rm_percentrm_phonerm_postal_coderm_repeated_charactersrm_repeated_phrasesrm_repeated_wordsrm_tagrm_time rm_transcript_time as_time as_time2rm_title_namerm_url rm_twitter_urlrm_white rm_white_bracket rm_white_colon rm_white_comma rm_white_endmark rm_white_lead rm_white_trail rm_white_lead_trail rm_white_multiple rm_white_punctuationrm_zipFunctions for testing regular expressions.
Functions used within qdapRegex that are intended for education around regular expressions.
cheatgrabexplainOther functions used within qdapRegex that are not specific to removing/extracting/replacing text with regular expressions.
bindbind_orgrabgroupgroup_orescapepastex %|%%+%STC L UData sets with canned regular expressions.
regex_cheatregex_usaregex_supplement