Suppose you find that there are commas separating every third digit of the numbers in a numeric column. How would you remove them? Or suppose you needed to strip a currency symbol from values in columns that hold monetary values so that you can compute with them as numbers. These, and vastly more complicated text transformations, can be performed using a most powerful tool, regular expressions.
Regular expressions
What are regular expressions?
Regular expressions (or regexes, as it is commonly abbreviated) is a formal grammar for describing patterns in text/strings. In general purpose programming languages, it is often used for things like verifying user input, but it is most often used in the context of statistical programming...