DEV Community

Regular Expressions

A regular expression (shortened as regex or regexp also referred to as regular expression) is a sequence of characters that specifies a search pattern.

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
Let's Talk About the Pathologically Eclectic Rubbish Lister

Let's Talk About the Pathologically Eclectic Rubbish Lister

Comments
10 min read
Ruby MatchData Documentation Revised

Ruby MatchData Documentation Revised

Comments
1 min read
Your URL Check Passed the Second Line and the Browser Ran the First

Your URL Check Passed the Second Line and the Browser Ran the First

Comments
2 min read
Hot-loading a regex word list from a website into a production API without getting ReDoS'd

Hot-loading a regex word list from a website into a production API without getting ReDoS'd

Comments
7 min read
How "4 Becher à 125 g" breaks price-per-kg math

How "4 Becher à 125 g" breaks price-per-kg math

Comments
3 min read
$10 is a price, $1.9T is a stat: pulling real numbers out of landing pages

$10 is a price, $1.9T is a stat: pulling real numbers out of landing pages

Comments 2
2 min read
RE2 vs PCRE: Every Regex Construct That Silently Breaks in GA4 (and the Fix)

RE2 vs PCRE: Every Regex Construct That Silently Breaks in GA4 (and the Fix)

Comments
2 min read
A 31-character name froze this Node server for 6 seconds

A 31-character name froze this Node server for 6 seconds

1
Comments
4 min read
\b became 0x08: the control bytes hiding in our Python regexes

\b became 0x08: the control bytes hiding in our Python regexes

Comments
3 min read
Turning Spoken Commands into Safe Actions: Regex First, the Language Model Second

Turning Spoken Commands into Safe Actions: Regex First, the Language Model Second

Comments
4 min read
Our lastmod ignored a price change: the regex that ate the first figure

Our lastmod ignored a price change: the regex that ate the first figure

Comments
3 min read
The caller's number was a timestamp: picking a phone number out of an Android call notification

The caller's number was a timestamp: picking a phone number out of an Android call notification

Comments
4 min read
A Tiny Regex Bug in Adyen's Java Library, and How My Fix Shipped in SDK v42.0.0

A Tiny Regex Bug in Adyen's Java Library, and How My Fix Shipped in SDK v42.0.0

Comments
3 min read
JavaScript regex in practice: greedy vs lazy, lookarounds, and the 300 ms pattern

JavaScript regex in practice: greedy vs lazy, lookarounds, and the 300 ms pattern

Comments
3 min read
How to Learn Regex (and Stop Googling the Same Patterns)

How to Learn Regex (and Stop Googling the Same Patterns)

Comments
5 min read
👋 Sign in for the ability to sort posts by relevant, latest, or top.
⌂ 换网址