Regular Expressions

Regular expressions, also known as regex, specify a search pattern to match a text. In technical terms, we search for occurrences of a string (i.e., the regular expression) in another string (i.e., the text). Thinking of basic pattern matching in MySQL, we can search for exterior and interior car parts in our running example of car models:

Get hands-on with 1400+ tech skills courses.