Codele / Advanced programming

Regular expressions

A regular expression is a stencil for text: you describe a shape, such as “some digits, a dash, more digits”, and the computer slides it along the text to see if it fits.

Loading the playable lesson…