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.
Regular Expressions for Highlighting Comments in PyCharm

Regular Expressions for Highlighting Comments in PyCharm

Comments
3 min read
๐Ÿ“ Cross-Post Project Update: Regex, Bug Fixes, and More Regex!

๐Ÿ“ Cross-Post Project Update: Regex, Bug Fixes, and More Regex!

Comments
2 min read
Build up your confidence with Regex: 5 Techniques to make it STICK

Build up your confidence with Regex: 5 Techniques to make it STICK

10
Comments
3 min read
From Regex Rampage to Lazy Bliss: My rjq Performance Adventure

From Regex Rampage to Lazy Bliss: My rjq Performance Adventure

Comments
3 min read
Regular Expressions

Regular Expressions

Comments
3 min read
Building a Regex Engine in Go: Introducing MatchGo

Building a Regex Engine in Go: Introducing MatchGo

Comments
3 min read
Mastering Regular Expressions: A Semantic Approach to Regex

Mastering Regular Expressions: A Semantic Approach to Regex

Comments
4 min read
Regex for a Java Software Engineer

Regex for a Java Software Engineer

4
Comments 1
3 min read
js / ts - expressรฃo regular

js / ts - expressรฃo regular

Comments
1 min read
Intro to Regular Expressions

Intro to Regular Expressions

Comments
2 min read
Intro to Regular Expressions

Intro to Regular Expressions

Comments
2 min read
The importance of the environment in Regex pattern matching

The importance of the environment in Regex pattern matching

3
Comments 3
2 min read
A Guide to Splitting Strings in JavaScript by Regex

A Guide to Splitting Strings in JavaScript by Regex

Comments
3 min read
Taming the Regex Beast: A Beginner's Guide to Regular Expressions

Taming the Regex Beast: A Beginner's Guide to Regular Expressions

5
Comments
3 min read
The JS string replace() method

The JS string replace() method

Comments
4 min read
Learn Enough Regex Without Losing Your Mind

Learn Enough Regex Without Losing Your Mind

Comments
5 min read
Python RegEx Cheat Sheet

Python RegEx Cheat Sheet

5
Comments
1 min read
Converting snake_case to camelCase with vscode

Converting snake_case to camelCase with vscode

4
Comments 1
1 min read
Improve Your Python Regex Performance Using Rust

Improve Your Python Regex Performance Using Rust

1
Comments 2
1 min read
Regex, the good bits.

Regex, the good bits.

66
Comments 9
8 min read
The interesting regex for Identifying Prime Numbers

The interesting regex for Identifying Prime Numbers

Comments
1 min read
Capturing named regex groups with JavaScript

Capturing named regex groups with JavaScript

Comments 2
2 min read
ChatGPT - Prompts to Create Regular Expression

ChatGPT - Prompts to Create Regular Expression

10
Comments 2
3 min read
Finding all HTML tags in a project not being self-closed

Finding all HTML tags in a project not being self-closed

Comments
2 min read
Sorcererโ€™s Code: Spellbinding Regex match in Power Automateโ€™s C# Plugin

Sorcererโ€™s Code: Spellbinding Regex match in Power Automateโ€™s C# Plugin

11
Comments
3 min read
Learning Rust: Recursive Descent Parser

Learning Rust: Recursive Descent Parser

4
Comments
6 min read
Automatically Test Your Regex Without Writing a Single C# Line of Code

Automatically Test Your Regex Without Writing a Single C# Line of Code

2
Comments
2 min read
Mastering Regex: From Beginner to Expert in Find and Replace

Mastering Regex: From Beginner to Expert in Find and Replace

Comments
2 min read
Introduรงรฃo ร s Expressรตes Regulares (Regex)

Introduรงรฃo ร s Expressรตes Regulares (Regex)

Comments
3 min read
Find What You Need: Pattern Matching in SQL

Find What You Need: Pattern Matching in SQL

Comments
4 min read
Demystifying Regex in Go

Demystifying Regex in Go

5
Comments 1
5 min read
Vamos falar de RegEx?(Parte2) Colocando o DART/FLUTTER em prรกtica

Vamos falar de RegEx?(Parte2) Colocando o DART/FLUTTER em prรกtica

Comments
3 min read
Vamos falar deย RegEx?

Vamos falar deย RegEx?

Comments
10 min read
C# Regex Performance: How To Squeeze Out Performance

C# Regex Performance: How To Squeeze Out Performance

Comments
7 min read
Regular Expressions In C#: 3 Examples You Need To Know

Regular Expressions In C#: 3 Examples You Need To Know

Comments
6 min read
Regex Options In C#: A Beginnerโ€™s Guide To Powerful Pattern Matching

Regex Options In C#: A Beginnerโ€™s Guide To Powerful Pattern Matching

Comments
8 min read
Release 1.8 Contributions : ChatCraft.org๐Ÿค–

Release 1.8 Contributions : ChatCraft.org๐Ÿค–

Comments
2 min read
Mastering Efficient String Matching Techniques in Python using regex

Mastering Efficient String Matching Techniques in Python using regex

Comments
4 min read
Improve your content searching/filtering workflow productivity with regexp-it-cli

Improve your content searching/filtering workflow productivity with regexp-it-cli

1
Comments
2 min read
Regex pattern in Python: A beginners guide

Regex pattern in Python: A beginners guide

6
Comments
7 min read
C# Regular Expression Benchmarks โ€“ How To Avoid My Mistakes!

C# Regular Expression Benchmarks โ€“ How To Avoid My Mistakes!

1
Comments
9 min read
Using Regex Search for MongoDB Queries

Using Regex Search for MongoDB Queries

Comments
2 min read
Manipulaรงรฃo de dados desnormalizados em Python: Utilizando re e lstrip()

Manipulaรงรฃo de dados desnormalizados em Python: Utilizando re e lstrip()

3
Comments
4 min read
Code cycle: may be the syntax query that currently supports the most languages

Code cycle: may be the syntax query that currently supports the most languages

Comments
2 min read
Regex - Understanding those [^Str|ng\$] for Beginners

Regex - Understanding those [^Str|ng\$] for Beginners

1
Comments
5 min read
Building a syntax highlighting extension for VS Code

Building a syntax highlighting extension for VS Code

8
Comments
12 min read
Practicing Raku Grammars On Exercism

Practicing Raku Grammars On Exercism

2
Comments
6 min read
Understanding Regular Expressions in Python

Understanding Regular Expressions in Python

Comments
2 min read
Specifying Ranges Of Characters| Regular Expressions For the Absolute Beginner

Specifying Ranges Of Characters| Regular Expressions For the Absolute Beginner

Comments
1 min read
Demystifying Regular Expressions (Regex): A Chat Sheet Guide

Demystifying Regular Expressions (Regex): A Chat Sheet Guide

Comments
2 min read
Matching a character in a Character-set | Regular expressions for The Absolute Beginner

Matching a character in a Character-set | Regular expressions for The Absolute Beginner

1
Comments
1 min read
Matching Special Characters (metacharacters) | Regular Expressions for the Absolute Beginner

Matching Special Characters (metacharacters) | Regular Expressions for the Absolute Beginner

1
Comments
1 min read
Finding Characters at Positions in Text | Regular Expressions for the Absolute Beginner

Finding Characters at Positions in Text | Regular Expressions for the Absolute Beginner

Comments
1 min read
Matching Any character (Using the dot (.))| Regular Expressions for the Absolute Beginner

Matching Any character (Using the dot (.))| Regular Expressions for the Absolute Beginner

Comments
1 min read
Matching literal Strings | Regular expressions for The Absolute Beginner

Matching literal Strings | Regular expressions for The Absolute Beginner

Comments
1 min read
How to use PostgreSQLยฎ SUBSTRING

How to use PostgreSQLยฎ SUBSTRING

1
Comments
4 min read
๐—ช๐—ต๐—ฎ๐˜ ๐—ฎ๐—ฟ๐—ฒ ๐˜๐—ต๐—ฒ ๐—ฅ๐—ฒ๐—ด๐—˜๐˜… ๐—ฃ๐—ฎ๐˜๐˜๐—ฒ๐—ฟ๐—ป๐˜€?

๐—ช๐—ต๐—ฎ๐˜ ๐—ฎ๐—ฟ๐—ฒ ๐˜๐—ต๐—ฒ ๐—ฅ๐—ฒ๐—ด๐—˜๐˜… ๐—ฃ๐—ฎ๐˜๐˜๐—ฒ๐—ฟ๐—ป๐˜€?

1
Comments 1
2 min read
๐—›๐—ผ๐˜„ ๐˜๐—ผ ๐˜‚๐˜€๐—ฒ ๐—ฅ๐—ฒ๐—ด๐—˜๐˜… ๐—ถ๐—ป ๐——๐—ฎ๐—ฟ๐˜?

๐—›๐—ผ๐˜„ ๐˜๐—ผ ๐˜‚๐˜€๐—ฒ ๐—ฅ๐—ฒ๐—ด๐—˜๐˜… ๐—ถ๐—ป ๐——๐—ฎ๐—ฟ๐˜?

3
Comments
1 min read
Applying regular expressions โ€“ matching single-letter words in text

Applying regular expressions โ€“ matching single-letter words in text

Comments
7 min read
Regex in JS Explained

Regex in JS Explained

5
Comments 1
4 min read
loading...