Skip to main content

regular expression 

A text string pattern matching mechanism. Usually applied to individual lines of text, such as from a simple text file, where the regular expression (sometimes abbreviated as RE) pattern can be used to precisely specify which lines ought to match and which shouldn't. The more complicated REs may look very confusing to people who don't know them, as they look more like a random string of letters and other characters without any obvious meaning.

Commonly they're enclosed between slashes (/like this/), because that's how they were used in many ancient Unix tools. They can also be used for text substitution, for example with the s/ construct. A common operator specifying that a RE will follow is the tilde (~).

The Perl language makes heavy use of regular expressions, and the grep tool also searches by REs. SED and AWK are some older tools also using REs.

REs come in two forms: Basic REs and Extended REs, varying slightly in syntax and possible contructs. Perl extens the Extended REs even further and has defined the standard "Perl Compatible REs" (PCRE).
"some example string" =~ /^s*.*e+.*(?:x.* )?.*?g$/
result: 1 (because the regular expression between the // matches the string)
regular expression by DJMoses May 27, 2009
Words you can keep

Regular expression 

An expression which is just regular, not special, emotionless, but true.
/(Regular) (expression)/ is a /$1 $2/.
See regular expression for a proper use.

Today, the sun is shining, it is a sunny day today!

Butterfly is an insect.

True is not false.

Beautiful flowers have short lives.
Regular expression by pieceocake December 4, 2012
More from Urban Dictionary

TikTok Farlands

TikTok Farlands is a term to refer to videos that you see after scrolling for a long time. These videos can potentially be disturbing, or weird. Said videos can also have low likes, or low comments.
“I reached the TikTok Farlands bro
Word of the Day on August 23, 2026

mormon assault vehicle

another term for a station wagon, mini-van, or any other kind of vehicle that is targeted at the "family" demographic(also M.A.V.)
"Tactical advantages aside, the M.A.V. is top of the line for the holy warrior troop transport manufactured by the Church of Latter Day Saints Military Industrial Complex. Also great for family trips...to heathen lands."
mormon assault vehicle by KVRX January 10, 2005
Word of the Day on August 22, 2026

Shakira Law 

A version of "Sharia Law" that Reform Ltd supporters tend to refer to, often by mistake.
Richard Tice of Reform now lives in Dubai, under Shakira Law, although telling Brits that we should worry about it
Shakira Law by Reformltd February 16, 2025
Word of the Day on August 21, 2026

Overstand 

To understand a topic or statement to the highest extent.
Leroy, after being told the tenth time by his sister, did overstand her idea of robbing the 7-11.
Overstand by Elf Eater March 23, 2003
Word of the Day on August 20, 2026
A map that mostly tells you where everything is
Friend 1: Follow me there is a player nearby
Friend 2: How do you know?
Friend 1: Minimap
minimap by LeWord January 13, 2015
Word of the Day on August 19, 2026
Next