Programmingintermediate1 min read

Regular Expression

N/A

正则表达式

Regular Expression · N/A · 正则表达式 · REG-eks · regex · regexp · Programming · patterns · text · validationProgrammingregex regexp

/REG-eks/

Also known as: regex, regexp

Last updated August 8, 2026

Definition

A regular expression is a compact pattern language for searching, validating, and transforming text — such as emails, phone numbers, or log lines.

Real-World Example

A signup form may use a regex to check that an email contains an @ and a domain before accepting it.

References

discuss://translation · public

Translation discussion

Anyone can read and write here. Pick a display name — no email or account. Please keep the thread constructive. Thumb up a rendering you agree with — that helps the editor see consensus; it does not publish the term by itself. You can edit or delete your own comments from this browser; another device or cleared site data cannot.

Community lists who wrote, on which term, and when.

Loading discussion…