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.
I tested 6 popular email regexes against 46 addresses. None passed.

I tested 6 popular email regexes against 46 addresses. None passed.

Comments
5 min read
One Regular Expression Held the Server for Forty Seconds

One Regular Expression Held the Server for Forty Seconds

1
Comments
2 min read
30 Practical JavaScript Regex Patterns With Examples and Tests

30 Practical JavaScript Regex Patterns With Examples and Tests

Comments 1
7 min read
Regex Cheatsheet for Beginners (With Copy-Paste Examples)

Regex Cheatsheet for Beginners (With Copy-Paste Examples)

Comments
3 min read
Cloudflare outage 2019: how one regex caused 27 minutes of 502s

Cloudflare outage 2019: how one regex caused 27 minutes of 502s

1
Comments
8 min read
Stop Trimming \r Off Every Regex Match. .NET 11 Has AnyNewLine

Stop Trimming \r Off Every Regex Match. .NET 11 Has AnyNewLine

1
Comments
4 min read
Grundpreis, jämförpris, egységár: reading unit prices on shops in 20+ EU languages

Grundpreis, jämförpris, egységár: reading unit prices on shops in 20+ EU languages

Comments
3 min read
Your test fixtures are lying to you: what 13 real Minecraft crash reports taught me

Your test fixtures are lying to you: what 13 real Minecraft crash reports taught me

1
Comments
5 min read
Regular Expressions Without the Fear

Regular Expressions Without the Fear

Comments
3 min read
Go regexp too slow? I built coregex, a drop-in replacement. An audit found 16 bugs — here's what broke

Go regexp too slow? I built coregex, a drop-in replacement. An audit found 16 bugs — here's what broke

2
Comments 4
6 min read
How I parse pack sizes like 6x0,5l, 25 dag and Lt 2,0X6 across 27 European countries

How I parse pack sizes like 6x0,5l, 25 dag and Lt 2,0X6 across 27 European countries

Comments
4 min read
Our support desk reads emailed replies, so something has to find where your words stop

Our support desk reads emailed replies, so something has to find where your words stop

Comments 2
5 min read
A 4-line regex took down our image pipeline for 6 hours. It was legal.

A 4-line regex took down our image pipeline for 6 hours. It was legal.

Comments
4 min read
RERA Registered Projects in Noida: Validate in Python

RERA Registered Projects in Noida: Validate in Python

Comments
4 min read
How I built a VS Code extension that draws Railroad diagrams for regex and catches ReDoS

How I built a VS Code extension that draws Railroad diagrams for regex and catches ReDoS

1
Comments
4 min read
đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.