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.
Building a ReDoS-Safe Browser Regex Tester: 1.2s Web Worker Watchdogs, Surrogate Pairs, and Java/Python/Go Gotchas

Building a ReDoS-Safe Browser Regex Tester: 1.2s Web Worker Watchdogs, Surrogate Pairs, and Java/Python/Go Gotchas

Comments
4 min read
Extract the skills a job asks for from its description: keyword lists, word boundaries and sections (Python + JS)

Extract the skills a job asks for from its description: keyword lists, word boundaries and sections (Python + JS)

Comments
19 min read
Parsing a WhatsApp chat export: two line formats, invisible characters, and ambiguous date

Parsing a WhatsApp chat export: two line formats, invisible characters, and ambiguous date

Comments
4 min read
Your email scraper is missing half the emails: decoding Cloudflare protection, [at] [dot] and HTML entities in Python

Your email scraper is missing half the emails: decoding Cloudflare protection, [at] [dot] and HTML entities in Python

Comments
5 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
3 min read
Validating Indian Number Plates in JavaScript (Including the BH Series)

Validating Indian Number Plates in JavaScript (Including the BH Series)

Comments
2 min read
I test my regexes in the browser — and the test data never leaves the tab

I test my regexes in the browser — and the test data never leaves the tab

Comments
3 min read
Regex engines compared: JavaScript, Python, Java, PCRE and RE2

Regex engines compared: JavaScript, Python, Java, PCRE and RE2

Comments
5 min read
JavaScript regex \b never matches in a generated file? It may be a backspace

JavaScript regex \b never matches in a generated file? It may be a backspace

Comments
2 min read
How to Debug Regular Expressions: A Practical Workflow

How to Debug Regular Expressions: A Practical Workflow

Comments
9 min read
One regex reads a pasted column of view counts, and pasting the whole page instead gives twelve numbers for three videos

One regex reads a pasted column of view counts, and pasting the whole page instead gives twelve numbers for three videos

Comments
6 min read
Fender serial number lookup in JavaScript: why E412345 can mean the USA or Japan

Fender serial number lookup in JavaScript: why E412345 can mean the USA or Japan

Comments
5 min read
Clean Up Messy Facebook, Instagram, TikTok and YouTube Links in JavaScript Before They Break Your Order Form

Clean Up Messy Facebook, Instagram, TikTok and YouTube Links in JavaScript Before They Break Your Order Form

Comments
6 min read
Cutting a book into sentences for text-to-speech, in fourteen languages

Cutting a book into sentences for text-to-speech, in fourteen languages

Comments
5 min read
8.5% of tech job ads in Europe state the pay. Most of them only say it in the prose

8.5% of tech job ads in Europe state the pay. Most of them only say it in the prose

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