Guide · Devlingo

How to pronounce regex

Quick answer

How to pronounce regex: both “REJ-ex”, with the soft g of “register”, and “REG-ex”, with the hard g of “regular”, are common, and Wiktionary lists both. The word is short for regular expression. The plural is “regexes” (REJ-ex-iz). Choose one form and keep it, since teammates rarely agree.

Updated 2 min readGambit Studio

Use without installing →Free in your browser, no sign-up

Say it like this

Wiktionary gives /ˈɹɛˌɡɛks/ and /ˈɹɛˌdʒɛks/. Fans of the hard g point to “regular”; fans of the soft g point to “register” and “Reggie”. The stress is on the first syllable in both. Regexp is said “REJ-exp” or “REG-ex-pee”, and some people just say “regular expression” in formal meetings.

Common mistakes

People saySay insteadWhy
ree-JEXREJ-ex / REG-exStress the first syllable
regexsregexes (REJ-ex-iz)Add a full syllable for the plural
WordSay itWhat it is
regexpREJ-expsame thing, older spelling
wildcardWILD-kard* and ? in patterns
globglobshell-style pattern
grepgrep (see grep)search with regexes

Sentences to practice out loud

  • This regex doesn't match emails with a plus sign.
  • Can we replace the regex with a proper parser?
  • I added a test for the regex edge cases.
  • The validation uses a regular expression on the server.

More tech words people get wrong: grep, nginx, Kubernetes, SQL, GIF.

Practice free in the browser: English for developers, the web version (phrases with audio).

Say the whole sentence, not just the word

Knowing how to say one tool name helps, but meetings are full sentences. Devlingo, Gambit Studio's English for developers app, gives you 10 new phrases a day from standups, code review, Slack and technical discussions, each with real-world context and pronunciation guidance, plus a home screen widget with the phrase of the day.

Sources

  1. Wiktionary: regex

Frequently asked questions

What people ask most about this, answered with the source.

Is it pronounced regex or rejex?
Both are used; Wiktionary lists the hard and the soft g.
What is the plural of regex?
Regexes, said REJ-ex-iz or REG-ex-iz.
How do you pronounce regexp?
REJ-exp or REG-ex-pee.
DevlingoLearn tech phrases & speaking
Use without installingGet