Skip to main content
regex

regex

5.7
A program that finds and changes text using patterns
  • noun
  • /ˈrɛɡɛks/
  • Specialized
translation icon : motor de expresiones regulares
  • The developer used a regex to quickly find all email addresses in the document.

Examples

  • To extract email addresses from the log file, I wrote a complex regex pattern.

  • The regex engine processes the input quickly.

  • Learning how to write a regex can make text processing much more efficient.

  • Some programming languages include a built-in regex library for pattern matching.

  • You can use regex to find specific patterns in text.

  • The developer used a regex to efficiently find and replace text in the document.

  • Understanding how to create a regex is essential for anyone working with data validation in code.

How General

regex
  • Specialized
5.7
wildcard
  • Specialized
1 4.6
placeholder
  • Specialized
1 7.0
literal
  • Specialized
1 6.7

Surface Forms

regex singular
regexes plural

Morphology

regex = regular + expression (semi-transparent) = regular + expression

A clipped/blended form of 'regular expression' whose morphology is clear but which denotes a specific type of software component.

Etymology

The word regex also came to mean the program or tool that reads those patterns, because the tool runs a regular expression for you. So when people talk about a regex library or engine, they mean the software that finds or changes text using those 'patterns'.