All Topics


A grammar for pattern matching


Regex, also known by its full name regular expression, is a formal grammar that is used for pattern matching. In programming, it’s common to see if certain strings fit a particular pattern, like phone numbers, addresses, and even names. Regexes are commonly used in programming languages to express these patterns.

Related Topics

What you should learn next