English Reference

Word

regular expression

Definitions

01computing/text matching

C1 · Advanced Countable noun Computing Technical

n. a string of symbols used to find or change specific patterns of text in a document or code.

n. a sequence of characters defining a search pattern for use in pattern matching with strings, or for input validation.

“I used a regular expression to find all the email addresses in the long document.”

“The developer implemented a complex regular expression to validate that the user input followed the required alphanumeric format.”

Usage

Often abbreviated as 'regex' or 'regexp' in informal technical contexts.

Synonyms

regexregexppattern

02formal language theory

C2 · Proficiency Countable noun Computing Academic · Technical

n. a mathematical way to describe a specific type of simple language used in computer science.

n. a notation representing a regular language, typically involving operations such as concatenation, alternation, and Kleene star iteration.

“In my computer science class, we learned how a regular expression relates to a finite automaton.”

“Theoretical computer science distinguishes between a true regular expression and the extended pattern-matching features found in modern programming languages.”

Usage

Used as a countable noun in mathematical and theoretical contexts.

Synonyms

rational expression

Etymology

The term was coined by the American mathematician Stephen Cole Kleene in 1951 to describe the sets of strings generated by his formal notation for finite automata.

Etymology adapted from Wiktionary, available under CC BY-SA 4.0.

Domain

Programming

This entry

Exam level
CambridgeCambridgeCambridge English QualificationsThe exam suite from Cambridge University Press & Assessment, from A1 Movers up to C2 Proficiency. The benchmark names double as CEFR labels.C1 AdvancedIELTSIELTSInternational English Language Testing SystemThe 0–9 band test co-owned by the British Council, IDP, and Cambridge. Used for university entry, work, and migration.7.0–8.0TOEFL iBTTOEFL iBTTest of English as a Foreign Language, Internet-Based TestETS's academic English test, the standard route for US university admissions. Scored 0–120, with a 1–6 scale since 2026.1–6 scale: 5.0–5.595–113TOEICTOEICTest of English for International CommunicationETS's workplace English test, big in Japan and Korea. Listening & Reading scores 10–990 and tops out at C1.945–990EikenEikenTest in Practical English ProficiencyThe English proficiency test from the Eiken Foundation of Japan, widely taken by Japanese students. Grades run from 5 to 1, with Pre-1 and Pre-2 between them.Grade 1
Level
C1 · Advanced
Updated

QR code

englishreference.com/q/regular-expression

English Reference