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.
What Does "\K" Mean in Regex?

What Does "\K" Mean in Regex?

6
Comments
1 min read
Master Regular Expression Through Real-World Examples

Master Regular Expression Through Real-World Examples

10
Comments
4 min read
Easily remove empty lines using regular expression in Visual Studio Code

Easily remove empty lines using regular expression in Visual Studio Code

6
Comments
2 min read
Regular Expressions made easy: a declarative approach

Regular Expressions made easy: a declarative approach

5
Comments
4 min read
An Overview of Regex Expressions

An Overview of Regex Expressions

6
Comments
5 min read
Repeated Capturing Group

Repeated Capturing Group

3
Comments
1 min read
Use sed To Extract Filename, Extension, and Directory From Path

Use sed To Extract Filename, Extension, and Directory From Path

6
Comments
3 min read
VS Code: Search-and-Replace Regex with Dollar-Sign

VS Code: Search-and-Replace Regex with Dollar-Sign

26
Comments 1
2 min read
5.How to match word and non word characters.

5.How to match word and non word characters.

3
Comments
1 min read
4. How to match whitespace and non whitespace characters.

4. How to match whitespace and non whitespace characters.

8
Comments
1 min read
3.Matching digits and non digits character.

3.Matching digits and non digits character.

6
Comments
1 min read
2. The dot(.)

2. The dot(.)

7
Comments
1 min read
1.Introduction about Regex

1.Introduction about Regex

5
Comments
1 min read
Formating Dates With Vim Substitutuions

Formating Dates With Vim Substitutuions

6
Comments 2
2 min read
Speed up Regex performance with .NET 5

Speed up Regex performance with .NET 5

9
Comments 2
1 min read
Searching Through a Nested Object Using Recursion, Regular Expressions, and Sets

Searching Through a Nested Object Using Recursion, Regular Expressions, and Sets

45
Comments
4 min read
Use Java replaceAll() instead of ColdFusion ReReplaceNoCase()

Use Java replaceAll() instead of ColdFusion ReReplaceNoCase()

6
Comments 1
2 min read
Beware of the star!

Beware of the star!

9
Comments
5 min read
Use stateful JavaScript Regular Expressions

Use stateful JavaScript Regular Expressions

8
Comments
3 min read
Understanding Regular Expressions once and for all [PART 1]

Understanding Regular Expressions once and for all [PART 1]

10
Comments
5 min read
Regular Expressions(RegEx)in JavaScript

Regular Expressions(RegEx)in JavaScript

5
Comments
6 min read
How to remember the `m` and `s` modifier for a regular expression in JavaScript?

How to remember the `m` and `s` modifier for a regular expression in JavaScript?

7
Comments
4 min read
The only 4 Regex Notations You Need To Know (to start) ❤️

The only 4 Regex Notations You Need To Know (to start) ❤️

15
Comments 1
6 min read
I hated Regex so much that I made iHateRegex.io

I hated Regex so much that I made iHateRegex.io

590
Comments 95
1 min read
Recognize Regex Easily

Recognize Regex Easily

11
Comments
4 min read
loading...