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.
Learning to Love Regex

Learning to Love Regex

33
Comments
8 min read
Ruby's gsub method: What, Why, & How

Ruby's gsub method: What, Why, & How

7
Comments
5 min read
Emulating regexp lookarounds in GNU sed

Emulating regexp lookarounds in GNU sed

1
Comments
5 min read
How to flip array keys and values in the code editor?

How to flip array keys and values in the code editor?

17
Comments 2
1 min read
Intro to Bash Regular Expressions

Intro to Bash Regular Expressions

40
Comments 2
15 min read
Yup Schema Commonly Used Examples

Yup Schema Commonly Used Examples

17
Comments 2
1 min read
Reflecting the first 20 days of 100DaysOfCode

Reflecting the first 20 days of 100DaysOfCode

5
Comments
6 min read
Re-indenting with Notepad++ regex replace

Re-indenting with Notepad++ regex replace

2
Comments
1 min read
Day 14 of 100DaysOfCode

Day 14 of 100DaysOfCode

4
Comments
1 min read
Day 18 of 100DaysOfCode

Day 18 of 100DaysOfCode

6
Comments
2 min read
Espressioni Regolari in JavaScript

Espressioni Regolari in JavaScript

9
Comments 3
5 min read
Basic Regex

Basic Regex

41
Comments 1
6 min read
Python RegEx Tutorial with practice

Python RegEx Tutorial with practice

5
Comments
2 min read
Regex isn't that hard

Regex isn't that hard

117
Comments 24
5 min read
Find all ip addresses in a project

Find all ip addresses in a project

6
Comments
1 min read
Day 16 of 100DaysOfCode

Day 16 of 100DaysOfCode

24
Comments
4 min read
Powerful regex for the practical dev #2

Powerful regex for the practical dev #2

1
Comments
5 min read
Regex to match strings ending with en.srt or es.srt

Regex to match strings ending with en.srt or es.srt

5
Comments
1 min read
Regex for Kenyan Phone Number format 07XXXXXXXX in Python

Regex for Kenyan Phone Number format 07XXXXXXXX in Python

12
Comments
1 min read
Powerful regex for the practical dev

Powerful regex for the practical dev

26
Comments 2
6 min read
Extract mobile number using regex

Extract mobile number using regex

2
Comments
1 min read
Correctly escaping regular expressions

Correctly escaping regular expressions

5
Comments
2 min read
On regex capturing groups

On regex capturing groups

8
Comments
3 min read
Restrict Editable Area in Monaco Editor - Part 2

Restrict Editable Area in Monaco Editor - Part 2

8
Comments
2 min read
Replacing placeholders in Ruby on Rails

Replacing placeholders in Ruby on Rails

10
Comments 3
2 min read
loading...