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.
Using Nokogiri and RegEx to Scan a Webpage in Ruby

Using Nokogiri and RegEx to Scan a Webpage in Ruby

10
Comments
4 min read
Where to start with regular expressions?

Where to start with regular expressions?

7
Comments
1 min read
Project Upgrade: Voice Controlled To-Do List App with Deepgram and Vue 3

Project Upgrade: Voice Controlled To-Do List App with Deepgram and Vue 3

21
Comments
15 min read
RegEx, Data Classes and Type Hints with Python: Learning from tweet text

RegEx, Data Classes and Type Hints with Python: Learning from tweet text

11
Comments
6 min read
Simple, beginner steps: RegEx and strings.

Simple, beginner steps: RegEx and strings.

5
Comments
3 min read
Introduction to Regex

Introduction to Regex

14
Comments
7 min read
Validation mask through Regex with Python

Validation mask through Regex with Python

5
Comments
2 min read
Regular Expression Example

Regular Expression Example

6
Comments
2 min read
Regular Expression (Regex) with Python

Regular Expression (Regex) with Python

7
Comments
2 min read
Checking Mail Address Simply using Perl Regular Expression

Checking Mail Address Simply using Perl Regular Expression

7
Comments 7
1 min read
Transforming VS Code Snippets

Transforming VS Code Snippets

14
Comments
6 min read
Melody: A New Way to RegEx

Melody: A New Way to RegEx

6
Comments
6 min read
A Quick Behind the Scenes of Greedy and Lazy Matching

A Quick Behind the Scenes of Greedy and Lazy Matching

6
Comments
5 min read
Remove double imports with regular expression

Remove double imports with regular expression

7
Comments
1 min read
Regex Of The Week #1

Regex Of The Week #1

5
Comments
1 min read
O poder das expressões regulares em Python

O poder das expressões regulares em Python

7
Comments
2 min read
Why you never hate Regex again?

Why you never hate Regex again?

6
Comments
1 min read
The black art of Regular Expressions

The black art of Regular Expressions

6
Comments 1
4 min read
Only Numbers validation in JS

Only Numbers validation in JS

7
Comments 1
1 min read
How to Use Regular Expressions in Python

How to Use Regular Expressions in Python

10
Comments
6 min read
001/100 Days of Code: Expressões Regulares

001/100 Days of Code: Expressões Regulares

11
Comments 4
2 min read
Regex to the Reading History Rescue

Regex to the Reading History Rescue

5
Comments
2 min read
How we sped up a Regex by 50,000x to make a family-friendly MMO safe for all

How we sped up a Regex by 50,000x to make a family-friendly MMO safe for all

19
Comments 2
19 min read
Validate Phone Number

Validate Phone Number

6
Comments
1 min read
REGEX (REGULAR EXPRESSIONS) WITH EXAMPLES

REGEX (REGULAR EXPRESSIONS) WITH EXAMPLES

7
Comments
1 min read
Cracking into Regex

Cracking into Regex

16
Comments
4 min read
Intro to Regular Expressions in Ruby

Intro to Regular Expressions in Ruby

2
Comments
3 min read
Learning Vim Regex

Learning Vim Regex

57
Comments 3
22 min read
Not a Regular Password Regex

Not a Regular Password Regex

6
Comments
2 min read
Does /[A-z]/ Work For Case-Insensitive Regex?

Does /[A-z]/ Work For Case-Insensitive Regex?

12
Comments
2 min read
RegExp Cheatsheet to speed up code editing and refactor

RegExp Cheatsheet to speed up code editing and refactor

175
Comments 4
5 min read
How do you regex?

How do you regex?

42
Comments 24
1 min read
Use Regex to match multi Kafka topics Grafana Dashboard

Use Regex to match multi Kafka topics Grafana Dashboard

7
Comments
1 min read
100 Languages Speedrun: Episode 47: Raku (Perl 6) Regular Expressions

100 Languages Speedrun: Episode 47: Raku (Perl 6) Regular Expressions

5
Comments 20
10 min read
A beginner's guide to Regex

A beginner's guide to Regex

5
Comments
9 min read
How do you feel about regex?

How do you feel about regex?

72
Comments 73
1 min read
Negative lookbehind alternative in JavaScript

Negative lookbehind alternative in JavaScript

6
Comments 2
2 min read
Caso de uso: RegEx

Caso de uso: RegEx

19
Comments 1
3 min read
Introdução a RegEx

Introdução a RegEx

6
Comments
14 min read
Regex Named Groups and Backreferences

Regex Named Groups and Backreferences

2
Comments
4 min read
100 Languages Speedrun: Episode 07: Sed and Regular Expression FizzBuzz

100 Languages Speedrun: Episode 07: Sed and Regular Expression FizzBuzz

8
Comments
11 min read
Venha expressar regulamente conosco?

Venha expressar regulamente conosco?

5
Comments
2 min read
Can you find the bug in this piece of code? - RegExp edition 🌍

Can you find the bug in this piece of code? - RegExp edition 🌍

31
Comments 24
1 min read
Capturing group misconception in Regex

Capturing group misconception in Regex

1
Comments
2 min read
13 reasons why you should not use Perl

13 reasons why you should not use Perl

4
Comments 15
4 min read
Check for a Tic Tac Toe winner with Regular Expressions

Check for a Tic Tac Toe winner with Regular Expressions

3
Comments 1
3 min read
.Net 5 Regex Performance

.Net 5 Regex Performance

5
Comments
3 min read
JS practice: day2 - password decoder

JS practice: day2 - password decoder

2
Comments
1 min read
Introduction to RegEx

Introduction to RegEx

5
Comments
9 min read
Yup Schema for Nigeria Phone Mobile Number

Yup Schema for Nigeria Phone Mobile Number

4
Comments 1
1 min read
Create Phone Number using JS , Codewars Solution

Create Phone Number using JS , Codewars Solution

6
Comments
1 min read
String Patterns in TypeScript

String Patterns in TypeScript

5
Comments
1 min read
Regex: Parsing usernames from Twitter, Facebook, and Instagram

Regex: Parsing usernames from Twitter, Facebook, and Instagram

7
Comments
2 min read
Regex 101 - Kill the Monster

Regex 101 - Kill the Monster

4
Comments
4 min read
MongoDB equivalent of SQL LIKE query

MongoDB equivalent of SQL LIKE query

5
Comments
1 min read
Remove Space/Empty New Line on VSCode with Regex

Remove Space/Empty New Line on VSCode with Regex

5
Comments 2
1 min read
Balancing Clarity, Elegance, and Risk in Regular Expressions

Balancing Clarity, Elegance, and Risk in Regular Expressions

2
Comments
17 min read
Snippets in JavaScript: Converting PascalCase to kebab-case // Integrating with ShadowDOM

Snippets in JavaScript: Converting PascalCase to kebab-case // Integrating with ShadowDOM

6
Comments
4 min read
Where to put regular expression checks?

Where to put regular expression checks?

1
Comments
1 min read
Format parser for Prettier and ESLint

Format parser for Prettier and ESLint

3
Comments
2 min read
loading...