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.
Utiliser les expressions régulières pour effectuer des recherches et remplacements en JavaScript

Utiliser les expressions régulières pour effectuer des recherches et remplacements en JavaScript

6
Comments
6 min read
Regex: From beginner to BEST on your team in one blog đź‘‘

Regex: From beginner to BEST on your team in one blog đź‘‘

78
Comments 3
12 min read
Parse Name and Address: Regex vs NER, with Code Examples

Parse Name and Address: Regex vs NER, with Code Examples

9
Comments
4 min read
Refactoring Ruby with Regex

Refactoring Ruby with Regex

6
Comments 2
4 min read
Regex - underrated or overHATED? Part 2/3

Regex - underrated or overHATED? Part 2/3

8
Comments
4 min read
Let's stop using [a-zA-Z]+

Let's stop using [a-zA-Z]+

76
Comments 6
2 min read
Time to start learning how to regex

Time to start learning how to regex

2
Comments
2 min read
Regex - underrated or overHATED? Part 1/ 3

Regex - underrated or overHATED? Part 1/ 3

17
Comments 2
9 min read
Regex for Date, Time and Currency, with Code Examples

Regex for Date, Time and Currency, with Code Examples

10
Comments
3 min read
Thoughts, quotes and thoughts about regex

Thoughts, quotes and thoughts about regex

5
Comments 3
3 min read
World-first Static time RegEx engine with O(0) time complexity

World-first Static time RegEx engine with O(0) time complexity

90
Comments 9
4 min read
Introduction to Regular Expressions

Introduction to Regular Expressions

21
Comments 5
2 min read
Natural Language v. Regex: The Context Wars

Natural Language v. Regex: The Context Wars

3
Comments
5 min read
Use RegEx to split a string in Javascript (preserving separators) | Notes

Use RegEx to split a string in Javascript (preserving separators) | Notes

3
Comments
1 min read
A Regular Expression to filter invalid names | Notes

A Regular Expression to filter invalid names | Notes

3
Comments
2 min read
Regex basics with explanations and examples

Regex basics with explanations and examples

36
Comments
4 min read
Regular Expressions (Regex) Tutorial

Regular Expressions (Regex) Tutorial

2
Comments
1 min read
Using matches & regex in Twig!

Using matches & regex in Twig!

3
Comments 1
1 min read
Regex..why can’t you just be normal? 🤯

Regex..why can’t you just be normal? 🤯

10
Comments 9
1 min read
Working with double-byte regex expressions and Python3

Working with double-byte regex expressions and Python3

7
Comments 2
1 min read
Step up your Regex game

Step up your Regex game

103
Comments 4
5 min read
I made a podcast about regular expressions

I made a podcast about regular expressions

3
Comments 1
1 min read
Making Regular Expressions Readable in JavaScript

Making Regular Expressions Readable in JavaScript

8
Comments
2 min read
Regular Expressions cheat sheet

Regular Expressions cheat sheet

65
Comments 3
2 min read
How to use Regular Expressions in JavaScript

How to use Regular Expressions in JavaScript

64
Comments 4
8 min read
Refactoring HTML code with help of regex search and replace

Refactoring HTML code with help of regex search and replace

8
Comments
2 min read
Making Regular Expressions Readable in JavaScript

Making Regular Expressions Readable in JavaScript

17
Comments 9
2 min read
Becoming a wizard with Vim

Becoming a wizard with Vim

5
Comments 3
3 min read
Regex: finding repetitions

Regex: finding repetitions

8
Comments
1 min read
Answer: Regular Expressions and negating a whole character group [duplicate]

Answer: Regular Expressions and negating a whole character group [duplicate]

3
Comments
1 min read
Parte 1: RegExp - Qué son, para qué se utilizan y cómo funcionan

Parte 1: RegExp - Qué son, para qué se utilizan y cómo funcionan

3
Comments
4 min read
Regex - Character Ranges

Regex - Character Ranges

8
Comments
1 min read
Learning to Love Regex

Learning to Love Regex

33
Comments
8 min read
A Visual Guide to Regular Expression

A Visual Guide to Regular Expression

1271
Comments 29
7 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

10
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

7
Comments
2 min read
Replacing placeholders in Ruby on Rails

Replacing placeholders in Ruby on Rails

9
Comments 3
2 min read
JavaScript RegEx Exercises 01 13:35

JavaScript RegEx Exercises 01

14
Comments
1 min read
Understanding Regular Expressions once and for all [PART 4]

Understanding Regular Expressions once and for all [PART 4]

4
Comments
3 min read
loading...