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.
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
Building a regex debugger for the terminal in Rust

Building a regex debugger for the terminal in Rust

2
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
A Regex Cheatsheet Where Every Entry Has Its Own Live Tester

A Regex Cheatsheet Where Every Entry Has Its Own Live Tester

Comments
3 min read
Mitigating ReDoS Attacks in JavaScript: Strategies to Enhance RegExp Performance and Security

Mitigating ReDoS Attacks in JavaScript: Strategies to Enhance RegExp Performance and Security

Comments
7 min read
Writing a Regex Parser and Tree Visualizer in ~400 Lines of Vanilla JS

Writing a Regex Parser and Tree Visualizer in ~400 Lines of Vanilla JS

1
Comments
5 min read
JavaScript Regex: A Complete Tutorial with Examples (2026)

JavaScript Regex: A Complete Tutorial with Examples (2026)

Comments
4 min read
Shell features you didn't know you needed (or possibly even existed) #9

Shell features you didn't know you needed (or possibly even existed) #9

Comments
1 min read
Claude Knows When You're Mad — And Uses Regex, Not AI

Claude Knows When You're Mad — And Uses Regex, Not AI

Comments
2 min read
My AI Coding Assistant Misapplied the Design Principle I Gave It

My AI Coding Assistant Misapplied the Design Principle I Gave It

Comments
5 min read
I Built a Regex Tester Because Regex101 Sends Your Data to a Server

I Built a Regex Tester Because Regex101 Sends Your Data to a Server

1
Comments
5 min read
Regex: Tiny Pattern, Hidden Machine

Regex: Tiny Pattern, Hidden Machine

Comments
2 min read
CSS Box Model Visualizer, Meta Tag Checker, Regex Highlighter — 3 New Tools

CSS Box Model Visualizer, Meta Tag Checker, Regex Highlighter — 3 New Tools

2
Comments
1 min read
AI Writes My Code, But It Can't Read Its Own Output

AI Writes My Code, But It Can't Read Its Own Output

1
Comments
6 min read
How to Use Regex in JavaScript: A Complete Developer Guide

How to Use Regex in JavaScript: A Complete Developer Guide

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