Regex
Noun · Development
Definitions
Regular Expression -- a pattern language for matching, searching, and manipulating text. Supported by virtually every programming language and tool (grep, sed, IDE search). Common patterns: . (any char), * (zero or more), + (one or more), [] (character class), () (capture group), \d (digit), ^ (start), $ (end). Notoriously hard to read at scale -- Jamie Zawinski: 'Now you have two problems.'
In plain English: A pattern language for finding and manipulating text -- incredibly powerful but famously hard to read.
Example: "The regex ^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$ validates email format -- but don't use it in production, just send a verification email."