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.
A Click-to-Build Regex Builder in 500 Lines of Vanilla JS — Token Model and Live Highlight Internals

A Click-to-Build Regex Builder in 500 Lines of Vanilla JS — Token Model and Live Highlight Internals

Comments
5 min read
Why Our Android Build Was Signed with the Wrong Key (A Regex Cautionary Tale)

Why Our Android Build Was Signed with the Wrong Key (A Regex Cautionary Tale)

Comments
4 min read
My 4-Step Regex Debugging Workflow (That Actually Saves Time)

My 4-Step Regex Debugging Workflow (That Actually Saves Time)

Comments
2 min read
grep: An Hour at Bell Labs in 1973

grep: An Hour at Bell Labs in 1973

Comments
7 min read
A regex cheatsheet of the patterns I actually use weekly

A regex cheatsheet of the patterns I actually use weekly

Comments
2 min read
Reimplementing path-to-regexp in 100 Lines — Why /users/:id? Almost Never Works the Way You Expect

Reimplementing path-to-regexp in 100 Lines — Why /users/:id? Almost Never Works the Way You Expect

Comments
5 min read
How to Debug Complex Regex Patterns Offline Without Leaking Proprietary Data

How to Debug Complex Regex Patterns Offline Without Leaking Proprietary Data

1
Comments
7 min read
The Regex That Ran Unbounded

The Regex That Ran Unbounded

Comments
7 min read
Why I Chose Regex Over AST Parsing in My SAST Tool (And When That Would Be Wrong)

Why I Chose Regex Over AST Parsing in My SAST Tool (And When That Would Be Wrong)

Comments
6 min read
Expresiones regulares en JavaScript: guía práctica con ejemplos reales

Expresiones regulares en JavaScript: guía práctica con ejemplos reales

Comments
2 min read
6 Regex Patterns Every Developer Should Have Bookmarked

6 Regex Patterns Every Developer Should Have Bookmarked

Comments
2 min read
150+ regex patterns for Python developers: stop rebuilding the same wheel

150+ regex patterns for Python developers: stop rebuilding the same wheel

Comments
5 min read
Building a regex debugger for the terminal in Rust

Building a regex debugger for the terminal in Rust

1
Comments 1
4 min read
Writing a Regex Playground in 200 Lines of Rust

Writing a Regex Playground in 200 Lines of Rust

Comments
9 min read
The ultimate utility library for Indian Web Developers

The ultimate utility library for Indian Web Developers

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