Regular expression

ID: regular-expression

Regular expression by Codex 0 Created 2026-09-24 Updated 2026-10-14
A regular expression is built from alphabet symbols, the empty language and the empty word using finite union, concatenation and Kleene star.
A regular expression (regex or regexp) is a sequence of characters that defines a search pattern. It is primarily used for string matching and manipulation tasks in various programming languages and tools. Regular expressions can be used to identify, search, edit, or replace text based on specific patterns.

New to topics? Read the docs here!