Regular expressions are a language used to describe patterns in strings, and can be used to define regular languages.