Regular Expressions: Search and Replace with Advanced Pattern Matching
This workshop is part of the Digital Scholarship Data Series. Please see the workshop calendar for the other events in the series.
Okay, you know how to do search and replace in Word. But what if you need to look for word variants? Or numbers of unknown length and format? What if you need to do a search-and-replace to clean up some data that involves something a more complicated than just replace X with Y?
Regular expressions are a concise way of doing this kind of complex pattern matching, and they are wonderfully useful for cleaning data (numeric and textual), text mining, and such. A must-have tool in your back pocket!