Regex

Advanced 💻 Tech / IT

Definition

Regular Expressions: a pattern-matching syntax that looks like a cat walked across your keyboard but somehow extracts exactly the text you need. Writing regex feels like casting a spell -- powerful if it works, catastrophic if you get one character wrong.

Example Usage

"I'll just write a quick regex for that," said the developer, and four hours later they had a 200-character string that matched everything except what they actually wanted.

Related Terms