Ruby regular expressions (regex for short) let us find specific patterns inside strings, with the intent of extracting that data for further processing. Two common use cases for regular expressions are validation and parsing. For example, think about an email address, with regular expressions we can define what a valid email address looks like. That […]

Read More