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.
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
5.How to match word and non word characters.

5.How to match word and non word characters.

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

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

24
Comments 1
2 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

5
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

42
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

589
Comments 95
1 min read
Recognize Regex Easily

Recognize Regex Easily

11
Comments
4 min read
Regex: from a backup file list to a RESTORE script in under 2 minutes

Regex: from a backup file list to a RESTORE script in under 2 minutes

6
Comments
5 min read
What the Regex?! A Practical Guide to Regular Expressions

What the Regex?! A Practical Guide to Regular Expressions

65
Comments 3
5 min read
#1 Live Kata Report

#1 Live Kata Report

7
Comments
2 min read
TrackingURLs - A ColdFusion function to parse Shipping Tracking Numbers

TrackingURLs - A ColdFusion function to parse Shipping Tracking Numbers

6
Comments 2
1 min read
Sanitizing console.log from HTML using ColdFusion Regex

Sanitizing console.log from HTML using ColdFusion Regex

3
Comments
1 min read
How to get query parameter from URL in Google Data Studio

How to get query parameter from URL in Google Data Studio

6
Comments 1
1 min read
Launched iHateregex.io in Producthunt

Launched iHateregex.io in Producthunt

7
Comments
1 min read
Component Arguments vs HTML Attributes bug hunt

Component Arguments vs HTML Attributes bug hunt

5
Comments
2 min read
Best Way To Validate Email In Javascript

Best Way To Validate Email In Javascript

6
Comments
1 min read
Why is my regex working intermittently?

Why is my regex working intermittently?

20
Comments 12
4 min read
Breaking Down a Complex RegEx

Breaking Down a Complex RegEx

41
Comments
3 min read
ColdFusion isIPInRange() UDF to support IPv4, IPv6, CIDR & Regex

ColdFusion isIPInRange() UDF to support IPv4, IPv6, CIDR & Regex

8
Comments
2 min read
Visualize types of work based on the commits

Visualize types of work based on the commits

6
Comments
4 min read
Vim: More submatch tricks (and regexes)

Vim: More submatch tricks (and regexes)

8
Comments
2 min read
Vim: Math on vim substitution

Vim: Math on vim substitution

10
Comments 2
3 min read
ColdFusion isDomain() UDF

ColdFusion isDomain() UDF

6
Comments
2 min read
Regular Expressions in D

Regular Expressions in D

9
Comments
2 min read
Vim - Delete Lines with Regex

Vim - Delete Lines with Regex

15
Comments
1 min read
JavaScript regular expressions cheatsheet and examples

JavaScript regular expressions cheatsheet and examples

178
Comments 1
8 min read
Check IP with Regex in Java

Check IP with Regex in Java

5
Comments
1 min read
20 Small Steps to Become a Regex Master

20 Small Steps to Become a Regex Master

619
Comments 15
42 min read
Regex: The Mighty String Wrangler

Regex: The Mighty String Wrangler

5
Comments
3 min read
Regular Expressions(RegEx) in Python

Regular Expressions(RegEx) in Python

54
Comments 2
18 min read
URL knife

URL knife

8
Comments
1 min read
Validating Social Security Numbers

Validating Social Security Numbers

9
Comments 2
3 min read
Python regular expression cheatsheet and examples

Python regular expression cheatsheet and examples

61
Comments
9 min read
VS Code: Search-and-Replace Regex

VS Code: Search-and-Replace Regex

116
Comments 18
2 min read
Howto: Drop-down list with Gitlab projects in Jenkins if you have more them 99 projects in namespace

Howto: Drop-down list with Gitlab projects in Jenkins if you have more them 99 projects in namespace

4
Comments
1 min read
Building a regex learn-by-examples web application

Building a regex learn-by-examples web application

3
Comments 2
1 min read
Quick tips for searching in vim

Quick tips for searching in vim

10
Comments 1
3 min read
Regex Search in VSCode

Regex Search in VSCode

15
Comments 3
2 min read
Expresiones Regulares

Expresiones Regulares

12
Comments
12 min read
Using Regular Expressions to Filter Your Server’s Logs

Using Regular Expressions to Filter Your Server’s Logs

13
Comments 3
10 min read
Regular Expressions And Template Literals

Regular Expressions And Template Literals

43
Comments 6
4 min read
Regular Expressions for finding IP Addresses in Your Logs: The Prep

Regular Expressions for finding IP Addresses in Your Logs: The Prep

1
Comments
6 min read
Asking for review on non-string regular expressions

Asking for review on non-string regular expressions

7
Comments 3
1 min read
loading...