Regular expressions

From Computer Science Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Computational thinking, problem-solving and programming[1]

A regular expression, regex (sometimes called a rational expression) is, in theoretical computer science and formal language theory, a sequence of characters that define a search pattern. Usually this pattern is then used by string searching algorithms for "find" or "find and replace" operations on strings.[2]

You should consult this site as a reference as you are learning about regular expressions.

regex cheat sheet[edit]

Regex Cheat Sheet.png

References[edit]