regex
Regex (noun) means a short line of symbols that describes a pattern of text, used to find, check or replace pieces of writing that match that pattern; short for regular expression. Example: “He wrote a regex to pull every date out of the log file.”
How to use regex
Learner’s notesIn plain EnglishA pattern that describes what text should look like so a computer can find or check it.
Technical and informal; regular expression is the formal term used in documentation.
The plural is usually regexes; regexen appears as a jokey form among programmers.
Trace the full origin ↓Fill the gap
Can you complete this real example?
He wrote a _____ to pull every date out of the log file.
Etymology
A shortening of regular expression.