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.
Enhancing User Input Validation: Ensuring Proper Decimal Formatting with Regular Expressions

Enhancing User Input Validation: Ensuring Proper Decimal Formatting with Regular Expressions

Comments
1 min read
Golang: Regex

Golang: Regex

3
Comments
17 min read
Acronym exercise: splitting strings like a pro

Acronym exercise: splitting strings like a pro

1
Comments
3 min read
Building an AI RegEx Editor with Retool, OpenAI, and CodeMirror

Building an AI RegEx Editor with Retool, OpenAI, and CodeMirror

2
Comments
6 min read
How to write Regex without writing regex 🦄

How to write Regex without writing regex 🦄

3
Comments
3 min read
Web Scraping With RegEx

Web Scraping With RegEx

1
Comments 1
18 min read
What is Regex? JavaScript regular expressions in 5 minutes

What is Regex? JavaScript regular expressions in 5 minutes

1
Comments
6 min read
JavaScript Regex guide for for beginners.

JavaScript Regex guide for for beginners.

1
Comments
3 min read
How to use Regex with Python

How to use Regex with Python

Comments
3 min read
Regular Expressions—a Rite of Passage: Completing the Application

Regular Expressions—a Rite of Passage: Completing the Application

Comments
10 min read
URL REGEX

URL REGEX

Comments
11 min read
Learn the Basics of RegEx in JavaScript

Learn the Basics of RegEx in JavaScript

7
Comments 3
6 min read
When JavaScript regex can surprise you - a silly bug story

When JavaScript regex can surprise you - a silly bug story

Comments
3 min read
what is regex expression

what is regex expression

1
Comments
3 min read
Regex Simplified: The Art of Pattern Matching with Regular Expressions

Regex Simplified: The Art of Pattern Matching with Regular Expressions

1
Comments
3 min read
Capturando dados com Regex

Capturando dados com Regex

1
Comments
3 min read
How to perform regex search queries over billions of strings

How to perform regex search queries over billions of strings

1
Comments
4 min read
Validando dados com Regex

Validando dados com Regex

2
Comments 1
7 min read
Regular Expressions—a Rite of Passage: From Theory to Practice

Regular Expressions—a Rite of Passage: From Theory to Practice

2
Comments
16 min read
Regular Expressions in SQLite

Regular Expressions in SQLite

Comments
2 min read
Complete Guide To Make You a Regex Guru

Complete Guide To Make You a Regex Guru

68
Comments 7
20 min read
Persson's Pyramid Puzzle - Level 5

Persson's Pyramid Puzzle - Level 5

6
Comments
1 min read
RegExp Basics: It's Not That Hard!

RegExp Basics: It's Not That Hard!

3
Comments
3 min read
Regular Expressions—A Rite of Passage for Web Developers

Regular Expressions—A Rite of Passage for Web Developers

1
Comments
17 min read
Refactoring. RegExp.

Refactoring. RegExp.

1
Comments
2 min read
Regex #1: Understanding Regex, Regex-Based String Methods and Regex Flags

Regex #1: Understanding Regex, Regex-Based String Methods and Regex Flags

Comments
4 min read
How to Validate Password Strength Using Regex and JavaScript

How to Validate Password Strength Using Regex and JavaScript

17
Comments 3
4 min read
Python script to find broken links in word document

Python script to find broken links in word document

3
Comments
6 min read
Extract dynamic text using regex capturing group

Extract dynamic text using regex capturing group

3
Comments 1
1 min read
Validating email addresses using regular expressions in JavaScript

Validating email addresses using regular expressions in JavaScript

44
Comments 6
3 min read
How to Build a RegEx Engine in Python (Part 6: the engine)

How to Build a RegEx Engine in Python (Part 6: the engine)

3
Comments 1
4 min read
What Are Regular Expressions? A Simple JavaScript Regex to Format Phone Numbers

What Are Regular Expressions? A Simple JavaScript Regex to Format Phone Numbers

4
Comments
4 min read
Regex, dont be scared

Regex, dont be scared

4
Comments
2 min read
6 Use Cases for Regex in Your Daily Work

6 Use Cases for Regex in Your Daily Work

88
Comments 13
8 min read
manipulate strings with sed

manipulate strings with sed

3
Comments 1
1 min read
A NEW REGEX ENGINE IS HERE!

A NEW REGEX ENGINE IS HERE!

4
Comments
2 min read
よく使う正規表現の整理 -- 文頭文末やある文字の前後など

よく使う正規表現の整理 -- 文頭文末やある文字の前後など

4
Comments
2 min read
Doesn't He Have Intern-Elves For This?

Doesn't He Have Intern-Elves For This?

3
Comments
3 min read
JSAbacusFramework.io

JSAbacusFramework.io

Comments
1 min read
Regular Expressions: A Basic Explanation

Regular Expressions: A Basic Explanation

1
Comments
5 min read
Open Source Adventures: Episode 78: Exploring Ruby Regular Expression API

Open Source Adventures: Episode 78: Exploring Ruby Regular Expression API

4
Comments
6 min read
🐍 regex: a Python example using lookbehind and lookahead

🐍 regex: a Python example using lookbehind and lookahead

8
Comments
3 min read
Regular expression capture and replace examples

Regular expression capture and replace examples

7
Comments
3 min read
How to bold matching characters in text JavaScript.

How to bold matching characters in text JavaScript.

Comments 1
1 min read
Regular expressions are fun!

Regular expressions are fun!

4
Comments
5 min read
Matchsticks

Matchsticks

1
Comments
2 min read
On the Virtues of RegExp in JS

On the Virtues of RegExp in JS

2
Comments
3 min read
PHP | Regular Expressions

PHP | Regular Expressions

2
Comments
9 min read
Expressões Regulares IV - as três regras da regex I - backtracking

Expressões Regulares IV - as três regras da regex I - backtracking

10
Comments
7 min read
Open Source Adventures: Episode 81: Exploring Raku Regular Expression API

Open Source Adventures: Episode 81: Exploring Raku Regular Expression API

2
Comments 2
3 min read
Open Source Adventures: Episode 80: Exploring Python Regular Expression API

Open Source Adventures: Episode 80: Exploring Python Regular Expression API

3
Comments
6 min read
Expressões Regulares III - âncoras, limites de palavras e caracteres de palavras

Expressões Regulares III - âncoras, limites de palavras e caracteres de palavras

19
Comments
2 min read
Open Source Adventures: Episode 79: Exploring Crystal Regular Expression API

Open Source Adventures: Episode 79: Exploring Crystal Regular Expression API

9
Comments
4 min read
Medicine for Rudolph

Medicine for Rudolph

1
Comments 3
4 min read
1. Regex - podstawy

1. Regex - podstawy

5
Comments
5 min read
Learning Regular Expressions

Learning Regular Expressions

3
Comments
4 min read
Expressões Regulares II - classes de caracteres

Expressões Regulares II - classes de caracteres

25
Comments
2 min read
The Regular Expression (RegEx) Cheat Sheet you always wanted

The Regular Expression (RegEx) Cheat Sheet you always wanted

935
Comments 14
4 min read
Expressões Regulares I - o básico

Expressões Regulares I - o básico

20
Comments
3 min read
Internet Protocol Version 7

Internet Protocol Version 7

Comments
7 min read
loading...