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.
Remove Space/Empty New Line on VSCode with Regex

Remove Space/Empty New Line on VSCode with Regex

8
Comments 2
1 min read
Balancing Clarity, Elegance, and Risk in Regular Expressions

Balancing Clarity, Elegance, and Risk in Regular Expressions

2
Comments
17 min read
Snippets in JavaScript: Converting PascalCase to kebab-case // Integrating with ShadowDOM

Snippets in JavaScript: Converting PascalCase to kebab-case // Integrating with ShadowDOM

6
Comments
4 min read
Where to put regular expression checks?

Where to put regular expression checks?

1
Comments
1 min read
Format parser for Prettier and ESLint

Format parser for Prettier and ESLint

3
Comments
2 min read
Clean Code Studio Software Resources (Regex)

Clean Code Studio Software Resources (Regex)

11
Comments 1
2 min read
Regular Expressions for Non-Programmers.

Regular Expressions for Non-Programmers.

3
Comments
5 min read
Getting Started with Regular Expressions

Getting Started with Regular Expressions

121
Comments 15
4 min read
How to Build a RegEx Engine in Python (Part 3: TDRDP)

How to Build a RegEx Engine in Python (Part 3: TDRDP)

1
Comments
4 min read
Regular expressions in Rust

Regular expressions in Rust

7
Comments 1
4 min read
Rust: Lazy Static Regex

Rust: Lazy Static Regex

5
Comments
5 min read
Regex Cheat Sheet

Regex Cheat Sheet

22
Comments
13 min read
Snippet: Grab lat/lon from Google Maps URL

Snippet: Grab lat/lon from Google Maps URL

2
Comments
1 min read
Keeping code simple with regular expressions

Keeping code simple with regular expressions

7
Comments
5 min read
Regular Expression for match empty string

Regular Expression for match empty string

6
Comments
1 min read
How to Build a RegEx Engine in Python (Part 2.1: Python strings)

How to Build a RegEx Engine in Python (Part 2.1: Python strings)

4
Comments
3 min read
Introducing Regcode - Create Regular Expressions Easily with Code

Introducing Regcode - Create Regular Expressions Easily with Code

22
Comments 7
3 min read
Kotlin Pure Regex Routing Logic

Kotlin Pure Regex Routing Logic

6
Comments
2 min read
Make your own Markdown Converter (with new Features) - Part 1

Make your own Markdown Converter (with new Features) - Part 1

7
Comments
2 min read
How to Build a RegEx Engine in Python (Part 1: The Grammar)

How to Build a RegEx Engine in Python (Part 1: The Grammar)

11
Comments
3 min read
How to Build a RegEx Engine in Python (Part 2: The Lexer)

How to Build a RegEx Engine in Python (Part 2: The Lexer)

9
Comments
4 min read
Do you find regexes complex?

Do you find regexes complex?

16
Comments
4 min read
Comprehensive Guide for not so Regular Expressions

Comprehensive Guide for not so Regular Expressions

15
Comments
7 min read
Regex: Fix duplicate slashes without affecting protocol

Regex: Fix duplicate slashes without affecting protocol

9
Comments 2
1 min read
How to Detect Symbols & spaces With RegEx!

How to Detect Symbols & spaces With RegEx!

5
Comments 1
1 min read
loading...