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.
Parsing Trading Data With Regex: Test a Whole Suite of Cases at Once, Not One String

Parsing Trading Data With Regex: Test a Whole Suite of Cases at Once, Not One String

Comments
4 min read
Python Regular Expressions: The Definitive Guide

Python Regular Expressions: The Definitive Guide

Comments
4 min read
The Regex Bug That Passes Code Review, Passes Tests, and Takes Down Prod

The Regex Bug That Passes Code Review, Passes Tests, and Takes Down Prod

3
Comments
6 min read
Four ways to split sentences (without machine learning)

Four ways to split sentences (without machine learning)

1
Comments
6 min read
3 Regex Patterns That Save Hours of Debugging

3 Regex Patterns That Save Hours of Debugging

Comments
2 min read
One Bad Regex Can Freeze Node.js: Here's How to Stop It

One Bad Regex Can Freeze Node.js: Here's How to Stop It

2
Comments 1
6 min read
How to Clean Messy LLM JSON Output Without Regex Hell

How to Clean Messy LLM JSON Output Without Regex Hell

Comments
2 min read
5 Signs Your Regex Is Wrong (and How to Spot Them in Seconds)

5 Signs Your Regex Is Wrong (and How to Spot Them in Seconds)

1
Comments
3 min read
A Test-Matrix Workflow for Debugging JavaScript Regular Expressions

A Test-Matrix Workflow for Debugging JavaScript Regular Expressions

1
Comments
6 min read
TIL: Postgresql's SUBSTRING function

TIL: Postgresql's SUBSTRING function

Comments
1 min read
I Built a Real-Time Regex Tester in the Browser (Capture Groups, Flags, No Libraries)

I Built a Real-Time Regex Tester in the Browser (Capture Groups, Flags, No Libraries)

Comments
2 min read
Stop Copy-Pasting Regex You Don't Understand: 5 Patterns Explained

Stop Copy-Pasting Regex You Don't Understand: 5 Patterns Explained

Comments
3 min read
Why Your Regex Works in Testing But Breaks in Production

Why Your Regex Works in Testing But Breaks in Production

5
Comments
6 min read
How to Design an Effective Referral Reward System: A Complete Technical Guide for SaaS

How to Design an Effective Referral Reward System: A Complete Technical Guide for SaaS

2
Comments 1
9 min read
5 Regex Patterns That Will Save You Hours of Debugging

5 Regex Patterns That Will Save You Hours of Debugging

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