Using R for Regular Expressions *RegEx
Meetup Description
R-Ladies Gaborone joined forces with R - Ladies Cologne on Twitter | R-Ladies Cologne on foostodon to co-host an event on Using R for Regular Expressions [*RegEx] Saturday, April 09, 2022, at 6 PM CET/CAT.
Guest speaker, Pavitra Chakravarty guided us through learning R using the stringr and stringi packages - essential and useful skills for programming 🚀
Regular Expressions [*RegEx]
Get more from the slides, code and notes the Regular Expressions GitHub Repo
What are regular expressions?
Regular expression is a pattern that describes a specific set of strings with a common structure
Heavily used for string matching / replacing in all programming languages
Heart and soul for string operations
Material has been borrowed heavily from
the STAT 545 course. This course was started by Jenny Bryan: https://stat545.stat.ubc.ca/notes/notes-b05/
More STAT 545 resources: https://stat545.com/character-vectors.html, https://youtu.be/I0dJ1zpxAtU
R for Data Science chapter on Strings: https://r4ds.had.co.nz/strings.html
Solution set for R4DS on Strings: https://brshallo.github.io/r4ds_solutions/14-strings.html#matching-patterns-w-regex
FUN TIME: Regex Puzzle Builder: https://regexcrossword.com/puzzlebuilder
In a Processing Textual Data with Python from CODATA Connect Series on Research Skills Enhancement, Raphael Cobe gives a talk on how to use Regular Expressions to find patterns or remove useless data.