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.
Automating Email Validation with Python: A Step-by-Step Tutorial

Automating Email Validation with Python: A Step-by-Step Tutorial

3
Comments
13 min read
How to work with regular expressions

How to work with regular expressions

Comments
2 min read
Unraveling the Magic of Regular Expressions: The Ultimate Guide to Mastering Sed, Gawk, and POSIX Patterns🚀

Unraveling the Magic of Regular Expressions: The Ultimate Guide to Mastering Sed, Gawk, and POSIX Patterns🚀

1
Comments 1
5 min read
Masking confidential data in prompts using Regex and spaCy

Masking confidential data in prompts using Regex and spaCy

Comments
5 min read
Regular Expressions for Highlighting Comments in PyCharm

Regular Expressions for Highlighting Comments in PyCharm

Comments
3 min read
Easy to follow Regular Expression Cheatsheet

Easy to follow Regular Expression Cheatsheet

Comments 3
2 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
Advent of Code 2024 - Day 3: Mull it Over

Advent of Code 2024 - Day 3: Mull it Over

3
Comments
3 min read
Vim Regex Tricks - Capitalize Every First Letter

Vim Regex Tricks - Capitalize Every First Letter

1
Comments
1 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
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
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
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
js / ts - expressĂŁo regular

js / ts - expressĂŁo regular

Comments
1 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.

67
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

12
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

9
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
loading...